var $runtime = "dhtml";
var $dhtml = true;
var $as3 = false;
var $as2 = false;
var $swf10 = false;
var $j2me = false;
var $debug = true;
var $js1 = true;
var $backtrace = false;
var $swf7 = false;
var $swf9 = false;
var $swf8 = false;
var $svg = false;
var $profile = false;
var _Copyright = "Portions of this file are copyright (c) 2001-2009 by Laszlo Systems, Inc.  All rights reserved.";
var Debug = {backtraceStack: [], uncaughtBacktraceStack: null, FUNCTION_NAME: "displayName", FUNCTION_FILENAME: "_dbg_filename", FUNCTION_LINENO: "_dbg_lineno"};
Debug.backtraceStack.maxDepth = 100;
var $modules = {};
$modules.runtime = this;
$modules.lz = $modules.runtime;
$modules.user = $modules.lz;
var global = $modules.user;
var __ES3Globals = {Array: Array, Boolean: Boolean, Date: Date, Function: Function, Math: Math, Number: Number, Object: Object, RegExp: RegExp, String: String, Error: Error, EvalError: EvalError, RangeError: RangeError, ReferenceError: ReferenceError, SyntaxError: SyntaxError, TypeError: TypeError, URIError: URIError};
var globalValue = (function () {
var $lzsc$temp = function (name_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["name", name_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzRuntime.lzs";
$3.lineno = 95;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (($3.lineno = 103, name_$0.charAt(0)) == "<" && ($3.lineno = 103, name_$0.charAt(name_$0.length - 1)) == ">") {
return lz[$3.lineno = 104, name_$0.substring(1, name_$0.length - 1)]
} else if (name_$0 in this) {
return this[name_$0]
} else if (name_$0 in global) {
return global[name_$0]
} else if (name_$0 in __ES3Globals) {
return __ES3Globals[name_$0]
};
return void 0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzRuntime.lzs#95/19";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzRuntime.lzs";
$lzsc$temp["_dbg_lineno"] = 95;
return $lzsc$temp
})();
var $lzsc$issubclassof = (function () {
var $lzsc$temp = function (one_$0, other_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["one", one_$0, "other", other_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/compiler/LzRuntime.lzs";
$4.lineno = 121;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return one_$0 === other_$1 || (other_$1["$lzsc$isa"] ? ($4.lineno = 145, other_$1.$lzsc$isa(one_$0.prototype)) : one_$0.prototype instanceof other_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzRuntime.lzs#121/26";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzRuntime.lzs";
$lzsc$temp["_dbg_lineno"] = 121;
return $lzsc$temp
})();
var Instance = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/Class.lzs";
$2.lineno = 27;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.constructor = arguments.callee;
$2.lineno = 29, this.$lzsc$initialize.apply(this, arguments)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "constructor";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 27;
return $lzsc$temp
})();
Instance.prototype.constructor = Instance;
Instance.classname = "Instance";
Instance.prototype.classname = "Object";
Instance._dbg_typename = "Class";
(function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/Class.lzs";
$3.lineno = 54;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var addProperties_$0 = (function () {
var $lzsc$temp = function (plist_$0) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["plist", plist_$0];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/compiler/Class.lzs";
$b.lineno = 55;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
for (var i_$1 = plist_$0.length - 1;i_$1 >= 1;i_$1 -= 2) {
var value_$2 = plist_$0[i_$1];
var name_$3 = plist_$0[i_$1 - 1];
if (value_$2 !== void 0 || !(name_$3 in this)) {
this[name_$3] = value_$2
};
if (!(value_$2 instanceof Function)) continue;
var xtor_$4 = this.constructor;
if ($b.lineno = 67, value_$2.hasOwnProperty("$superclasses")) {
var os_$5 = value_$2.$superclasses, found_$6 = false;
for (var j_$7 = os_$5.length - 1;j_$7 >= 0;j_$7--) {
if (os_$5[j_$7] === xtor_$4) {
found_$6 = true;
break
}};
if (!found_$6) {
$b.lineno = 76, value_$2.$superclasses.push(xtor_$4)
}} else if (($b.lineno = 78, value_$2.hasOwnProperty("$superclass")) && value_$2.$superclass !== xtor_$4) {
var $8 = value_$2.$superclass;
delete value_$2.$superclass;
value_$2.$superclasses = [$8, xtor_$4]
} else {
value_$2.$superclass = xtor_$4
};
if (!value_$2._dbg_typename) {
value_$2._dbg_owner = this;
value_$2._dbg_typename = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/Class.lzs";
$3.lineno = 90;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var t_$0 = ($3.lineno = 91, Debug.functionName(this._dbg_owner._dbg_prototype_for));
return t_$0 + " function"
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "_dbg_typename";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 90;
return $lzsc$temp
})()
}}}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "addProperties";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 55;
return $lzsc$temp
})();
$3.lineno = 117, addProperties_$0.call(Instance.prototype, ["addProperties", addProperties_$0])
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "compiler/Class.lzs#54/2";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 54;
return $lzsc$temp
})()();
Instance.prototype.addProperties(["addProperty", (function () {
var $lzsc$temp = function (name_$0, value_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["name", name_$0, "value", value_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/compiler/Class.lzs";
$4.lineno = 132;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
$4.lineno = 133, this.addProperties([name_$0, value_$1])
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "addProperty";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 132;
return $lzsc$temp
})()]);
Instance.prototype.addProperty("nextMethod", (function () {
var $lzsc$temp = function (currentMethod, nextMethodName) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["currentMethod", currentMethod, "nextMethodName", nextMethodName];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/compiler/Class.lzs";
$6.lineno = 150;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var next_$0;
if ($6.lineno = 152, currentMethod.hasOwnProperty("$superclass")) {
next_$0 = currentMethod.$superclass.prototype[nextMethodName]
} else if ($6.lineno = 154, currentMethod.hasOwnProperty("$superclasses")) {
var $1 = currentMethod.$superclasses;
for (var i_$2 = $1.length - 1;i_$2 >= 0;i_$2--) {
var sc_$3 = $1[i_$2];
if (this instanceof sc_$3) {
next_$0 = sc_$3.prototype[nextMethodName];
break
}}};
if (!next_$0) {
next_$0 = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/Class.lzs";
$2.lineno = 166;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 168, Debug.error("super.%s is undefined in %w", nextMethodName, currentMethod)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "compiler/Class.lzs#166/12";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 166;
return $lzsc$temp
})()
};
return next_$0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "nextMethod";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 150;
return $lzsc$temp
})());
Instance.prototype.addProperty("$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/Class.lzs";
$2.lineno = 191;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 191;
return $lzsc$temp
})());
if (lz.embed.browser.isSafari && lz.embed.browser.version == "531.21") {
Instance.prototype.addProperty("$lzsc$safarikludge", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/Class.lzs";
$2.lineno = 205;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$safarikludge";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 205;
return $lzsc$temp
})())
};
var Class = {prototype: new Instance(), addProperty: Instance.prototype.addProperty, addProperties: (function () {
var $lzsc$temp = function (plist_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["plist", plist_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/Class.lzs";
$3.lineno = 217;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 218, this.prototype.addProperties(plist_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "addProperties";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 217;
return $lzsc$temp
})(), addStaticProperty: (function () {
var $lzsc$temp = function (name_$0, value_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["name", name_$0, "value", value_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/compiler/Class.lzs";
$4.lineno = 220;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this[name_$0] = value_$1;
if (value_$1 instanceof Function && !value_$1._dbg_typename) {
value_$1._dbg_owner = this;
value_$1._dbg_typename = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/Class.lzs";
$2.lineno = 235;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return ($2.lineno = 236, Debug.functionName(this._dbg_owner)) + " static function"
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "_dbg_typename";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 235;
return $lzsc$temp
})()
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "addStaticProperty";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 220;
return $lzsc$temp
})(), allClasses: {Instance: Instance}, make: (function () {
var $lzsc$temp = function (classname_$0, mixinsAndSuperclass_$1, instanceProperties, staticProperties_$2) {
var $c = Debug;
var $d = $c.backtraceStack;
try {
if ($d) {
var $e = ["classname", classname_$0, "mixinsAndSuperclass", mixinsAndSuperclass_$1, "instanceProperties", instanceProperties, "staticProperties", staticProperties_$2];
$e.callee = arguments.callee;
$e["this"] = this;
$e.filename = "lfc/compiler/Class.lzs";
$e.lineno = 257;
$d.push($e);
if ($d.length > $d.maxDepth) {
$c.stackOverflow()
}};
var superclass = null;
if (mixinsAndSuperclass_$1 instanceof Array) {
for (var k_$3 = mixinsAndSuperclass_$1.length - 1;k_$3 >= 0;k_$3--) {
var c_$4 = mixinsAndSuperclass_$1[k_$3];
if (c_$4 instanceof Function) {
if (superclass) {
$e.lineno = 280, Debug.error("Class.make: Multiple superclasses %s and %s for class %s", superclass, c_$4, classname_$0)
};
$e.lineno = 283, mixinsAndSuperclass_$1.splice(k_$3, 1);
superclass = c_$4
}}} else if (mixinsAndSuperclass_$1 instanceof Function) {
superclass = mixinsAndSuperclass_$1;
mixinsAndSuperclass_$1 = null
} else {
if (mixinsAndSuperclass_$1) {
$e.lineno = 292, Debug.error("Class.make: invalid superclass %w", mixinsAndSuperclass_$1)
}};
if (!superclass) {
superclass = Instance
};
var nc_$5 = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/Class.lzs";
$2.lineno = 296;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.constructor = arguments.callee;
if (this["$lzsc$safarikludge"] && this.$lzsc$safarikludge !== Instance.prototype.$lzsc$safarikludge) {
$2.lineno = 305, this.$lzsc$safarikludge()
};
if (this.$lzsc$initialize !== Instance.prototype.$lzsc$initialize) {
$2.lineno = 352, this.$lzsc$initialize.apply(this, arguments)
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "constructor";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 296;
return $lzsc$temp
})();
nc_$5.constructor = this;
nc_$5.classname = classname_$0;
nc_$5._dbg_typename = this._dbg_name;
nc_$5[Debug.FUNCTION_NAME] = classname_$0;
var xtor_$6 = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/Class.lzs";
$2.lineno = 370;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.constructor = superclass
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "prototype";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 370;
return $lzsc$temp
})();
xtor_$6.prototype = superclass.prototype;
var prototype_$7 = ($e.lineno = 375, new xtor_$6());
if (mixinsAndSuperclass_$1 instanceof Array) {
for (var i_$8 = mixinsAndSuperclass_$1.length - 1;i_$8 >= 0;i_$8--) {
var t_$9 = mixinsAndSuperclass_$1[i_$8];
prototype_$7 = ($e.lineno = 382, t_$9.makeInterstitial(prototype_$7, i_$8 > 0 ? mixinsAndSuperclass_$1[i_$8 - 1] : nc_$5))
}};
nc_$5.prototype = prototype_$7;
prototype_$7._dbg_prototype_for = nc_$5;
$e.lineno = 397, this.addStaticProperty.call(nc_$5, "addStaticProperty", this.addStaticProperty);
$e.lineno = 398, nc_$5.addStaticProperty("addProperty", this.addProperty);
$e.lineno = 401, nc_$5.addStaticProperty("addProperties", this.addProperties);
if (staticProperties_$2) {
for (var i_$8 = staticProperties_$2.length - 1;i_$8 >= 1;i_$8 -= 2) {
var value_$a = staticProperties_$2[i_$8];
var name_$b = staticProperties_$2[i_$8 - 1];
$e.lineno = 407, nc_$5.addStaticProperty(name_$b, value_$a)
}};
if (instanceProperties) {
$e.lineno = 412, nc_$5.addProperties(instanceProperties);
if (lz.embed.browser.isSafari && lz.embed.browser.version == "531.21") {
$e.lineno = 418, nc_$5.addProperty("$lzsc$safarikludge", (function () {
var $lzsc$temp = function () {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = [];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/compiler/Class.lzs";
$5.lineno = 418;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$safarikludge"] || ($5.lineno = 419, this.nextMethod(arguments.callee, "$lzsc$safarikludge"))).call(this);
for (var i_$0 = instanceProperties.length - 1;i_$0 >= 1;i_$0 -= 2) {
var value_$1 = instanceProperties[i_$0];
if (Function["$lzsc$isa"] ? ($5.lineno = 422, Function.$lzsc$isa(value_$1)) : value_$1 instanceof Function) continue;
var name_$2 = instanceProperties[i_$0 - 1];
if (value_$1 !== void 0 || !(name_$2 in this)) {
this[name_$2] = value_$1
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$safarikludge";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 418;
return $lzsc$temp
})())
}};
if (this.allClasses[classname_$0]) {
$e.lineno = 435, Debug.error("Redefining %s from %w to %w", classname_$0, this.allClasses[classname_$0], nc_$5)
};
global[classname_$0] = this.allClasses[classname_$0] = nc_$5;
return nc_$5
}
finally {
if ($d) {
$d.length--
}}};
$lzsc$temp["displayName"] = "make";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 257;
return $lzsc$temp
})()};
Class._dbg_typename = "Metaclass";
Class._dbg_name = "Class";
Class.addProperties._dbg_typename = "Class static function";
Class.addStaticProperty._dbg_typename = "Class static function";
Class.make._dbg_typename = "Class static function";
var Mixin = {prototype: new Instance(), allMixins: {}, addProperty: (function () {
var $lzsc$temp = function (name_$0, value_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["name", name_$0, "value", value_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/compiler/Class.lzs";
$7.lineno = 464;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
this.prototype[name_$0] = value_$1;
$7.lineno = 468, this.instanceProperties.push(name_$0, value_$1);
var impls_$2 = this.implementations;
for (var mash_$3 in impls_$2) {
var t_$4 = impls_$2[mash_$3];
$7.lineno = 473, t_$4.addProperty(name_$0, value_$1)
};
if (value_$1 instanceof Function && !value_$1._dbg_typename) {
value_$1._dbg_typename = this.classname + " function"
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "addProperty";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 464;
return $lzsc$temp
})(), addStaticProperty: (function () {
var $lzsc$temp = function (name_$0, value_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["name", name_$0, "value", value_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/compiler/Class.lzs";
$4.lineno = 481;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this[name_$0] = value_$1;
if (value_$1 instanceof Function && !value_$1._dbg_typename) {
value_$1._dbg_typename = this.classname + " static function"
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "addStaticProperty";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 481;
return $lzsc$temp
})(), makeInterstitial: (function () {
var $lzsc$temp = function (superclassInstance_$0, sharable_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["superclassInstance", superclassInstance_$0, "sharable", sharable_$1];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/compiler/Class.lzs";
$9.lineno = 493;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var impls_$2 = this.implementations;
var interstitialname_$3 = this.classname + "+" + superclassInstance_$0.constructor.classname;
var prototypename_$4 = sharable_$1.classname + "|" + interstitialname_$3;
if (impls_$2[prototypename_$4]) {
$9.lineno = 503, Debug.debug("Sharable interstitial: %s", prototypename_$4);
return impls_$2[prototypename_$4]
};
$9.lineno = 508, superclassInstance_$0.addProperties(this.instanceProperties);
var xtor_$5 = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/Class.lzs";
$2.lineno = 510;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.constructor = arguments.callee
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "interstitial";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 510;
return $lzsc$temp
})();
xtor_$5.prototype = superclassInstance_$0;
xtor_$5.classname = interstitialname_$3;
xtor_$5._dbg_typename = "Interstitial";
xtor_$5[Debug.FUNCTION_NAME] = xtor_$5.classname;
var t_$6 = ($9.lineno = 524, new xtor_$5());
impls_$2[prototypename_$4] = t_$6;
return t_$6
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "makeInterstitial";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 493;
return $lzsc$temp
})(), $lzsc$isa: (function () {
var $lzsc$temp = function (obj_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["obj", obj_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/compiler/Class.lzs";
$5.lineno = 533;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var impls_$1 = this.implementations;
for (var prototypename_$2 in impls_$1) {
if (obj_$0 instanceof impls_$1[prototypename_$2].constructor) {
return true
}};
return false
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$isa";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 533;
return $lzsc$temp
})(), make: (function () {
var $lzsc$temp = function (classname_$0, superMixin_$1, instanceProperties_$2, staticProperties_$3) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["classname", classname_$0, "superMixin", superMixin_$1, "instanceProperties", instanceProperties_$2, "staticProperties", staticProperties_$3];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/compiler/Class.lzs";
$a.lineno = 543;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
var nt_$4 = {constructor: this, classname: classname_$0, _dbg_typename: this._dbg_name, _dbg_name: classname_$0, prototype: superMixin_$1 ? ($a.lineno = 552, superMixin_$1.make()) : ($a.lineno = 552, new Object()), instanceProperties: superMixin_$1 ? ($a.lineno = 553, superMixin_$1.instanceProperties.slice(0)) : ($a.lineno = 553, new Array()), implementations: {}};
$a.lineno = 557, this.addStaticProperty.call(nt_$4, "addStaticProperty", this.addStaticProperty);
$a.lineno = 558, nt_$4.addStaticProperty("addProperty", this.addProperty);
$a.lineno = 559, nt_$4.addStaticProperty("makeInterstitial", this.makeInterstitial);
$a.lineno = 560, nt_$4.addStaticProperty("$lzsc$isa", this.$lzsc$isa);
if (staticProperties_$3) {
for (var i_$5 = staticProperties_$3.length - 1;i_$5 >= 1;i_$5 -= 2) {
var value_$6 = staticProperties_$3[i_$5];
var name_$7 = staticProperties_$3[i_$5 - 1];
$a.lineno = 566, nt_$4.addStaticProperty(name_$7, value_$6)
}};
if (instanceProperties_$2) {
for (var i_$5 = instanceProperties_$2.length - 1;i_$5 >= 1;i_$5 -= 2) {
var value_$6 = instanceProperties_$2[i_$5];
var name_$7 = instanceProperties_$2[i_$5 - 1];
$a.lineno = 574, nt_$4.addProperty(name_$7, value_$6)
}};
global[classname_$0] = this.allMixins[classname_$0] = nt_$4;
return nt_$4
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "make";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/Class.lzs";
$lzsc$temp["_dbg_lineno"] = 543;
return $lzsc$temp
})()};
Mixin._dbg_typename = "Metaclass";
Mixin._dbg_name = "Mixin";
Mixin.addStaticProperty._dbg_typename = "Mixin static function";
Mixin.addProperty._dbg_typename = "Mixin static function";
Mixin.makeInterstitial._dbg_typename = "Mixin static function";
Mixin.make._dbg_typename = "Mixin static function";
Class.make("LzDebugConsole", null, ["saved_msgs", void 0, "addText", (function () {
var $lzsc$temp = function (msg_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["msg", msg_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$5.lineno = 38;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var str_$1;
try {
if (msg_$0 && (Function["$lzsc$isa"] ? ($5.lineno = 41, Function.$lzsc$isa(msg_$0["toHTML"])) : msg_$0["toHTML"] instanceof Function)) {
str_$1 = ($5.lineno = 42, msg_$0.toHTML())
} else {
str_$1 = ($5.lineno = 44, ($5.lineno = 44, String(msg_$0))["toHTML"]())
}}
catch (e_$2) {
str_$1 = "" + msg_$0
};
if (navigator.platform == "rhino") {
try {
$5.lineno = 53, print(str_$1);
return
}
catch (e_$2) {}};
$5.lineno = 58, this.addHTMLText(str_$1)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "addText";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 38;
return $lzsc$temp
})(), "clear", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$2.lineno = 65;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "clear";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 65;
return $lzsc$temp
})(), "ensureVisible", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$2.lineno = 71;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "ensureVisible";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 71;
return $lzsc$temp
})(), "echo", (function () {
var $lzsc$temp = function (str_$0, newLine_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["str", str_$0, "newLine", newLine_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$4.lineno = 83;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
newLine_$1 = true
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "echo";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 83;
return $lzsc$temp
})(), "addHTMLText", (function () {
var $lzsc$temp = function (msg_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["msg", msg_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 92;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "addHTMLText";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 92;
return $lzsc$temp
})(), "makeObjectLink", (function () {
var $lzsc$temp = function (rep_$0, id_$1, attrs_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["rep", rep_$0, "id", id_$1, "attrs", attrs_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$5.lineno = 112;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 2:
attrs_$2 = null
};
return undefined
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "makeObjectLink";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 112;
return $lzsc$temp
})(), "SimpleExprPattern", new RegExp("^\\s*([$_A-Za-z][$\\w]*)((\\s*\\.\\s*[$_A-Za-z][$\\w]*)|(\\s*\\[\\s*\\d+\\s*\\]))*\\s*$"), "ElementPattern", new RegExp("([$_A-Za-z][$\\w]*)|(\\d+)", "g"), "isSimpleExpr", (function () {
var $lzsc$temp = function (expr_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["expr", expr_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 126;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 127, expr_$0.match(this.SimpleExprPattern)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "isSimpleExpr";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 126;
return $lzsc$temp
})(), "evalSimpleExpr", (function () {
var $lzsc$temp = function (expr_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["expr", expr_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$7.lineno = 131;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var parts_$1 = ($7.lineno = 133, expr_$0.match(this.ElementPattern));
var val_$2 = ($7.lineno = 134, globalValue(parts_$1[0])) || Debug.environment[parts_$1[0]];
for (var i_$3 = 1, l_$4 = parts_$1.length;i_$3 < l_$4;i_$3++) {
val_$2 = val_$2[parts_$1[i_$3]]
};
return val_$2
}
catch ($lzsc$e) {
if (Error["$lzsc$isa"] ? Error.$lzsc$isa($lzsc$e) : $lzsc$e instanceof Error) {
lz.$lzsc$thrownError = $lzsc$e
};
throw $lzsc$e
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "evalSimpleExpr";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 131;
return $lzsc$temp
})(), "doEval", (function () {
var $lzsc$temp = function (expr_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["expr", expr_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$6.lineno = 153;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if ($6.lineno = 154, this.isSimpleExpr(expr_$0)) {
var simple_$1 = true;
try {
var val_$2 = ($6.lineno = 157, this.evalSimpleExpr(expr_$0));
if (val_$2 === void 0) {
simple_$1 = false
}}
catch (e_$3) {
simple_$1 = false
}};
if (simple_$1) {
$6.lineno = 168, Debug.displayResult(val_$2)
} else {
$6.lineno = 170, Debug.warn("Unable to evaluate %s", expr_$0)
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "doEval";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 153;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 20;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzBootstrapDebugService.lzs#20/1";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 20;
return $lzsc$temp
})()(LzDebugConsole);
Class.make("LzBootstrapDebugConsole", LzDebugConsole, ["$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$2.lineno = 188;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.saved_msgs = ($2.lineno = 189, new Array())
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 188;
return $lzsc$temp
})(), "echo", (function () {
var $lzsc$temp = function (str_$0, newLine_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["str", str_$0, "newLine", newLine_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$4.lineno = 197;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
newLine_$1 = true
};
$4.lineno = 198, this.addHTMLText("<i>" + str_$0 + "</i>" + (newLine_$1 ? "\n" : ""))
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "echo";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 197;
return $lzsc$temp
})(), "addHTMLText", (function () {
var $lzsc$temp = function (msg_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["msg", msg_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 206;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 207, this.saved_msgs.push(msg_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "addHTMLText";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 206;
return $lzsc$temp
})(), "makeObjectLink", (function () {
var $lzsc$temp = function (rep_$0, id_$1, attrs_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["rep", rep_$0, "id", id_$1, "attrs", attrs_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$5.lineno = 215;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 2:
attrs_$2 = null
};
if (id_$1 != null) {
return '<a title="#' + id_$1 + '">' + rep_$0 + "</a>"
};
return rep_$0
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "makeObjectLink";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 215;
return $lzsc$temp
})(), "doEval", (function () {
var $lzsc$temp = function (expr_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["expr", expr_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$4.lineno = 230;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
try {
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["doEval"] || ($4.lineno = 233, this.nextMethod(arguments.callee, "doEval"))).call(this, expr_$0)
}
catch (e_$1) {
$4.lineno = 235, Debug.error(e_$1)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "doEval";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 230;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 186;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzBootstrapDebugService.lzs#186/1";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 186;
return $lzsc$temp
})()(LzBootstrapDebugConsole);
Class.make("LzBootstrapDebugLogger", null, ["log", (function () {
var $lzsc$temp = function (msg_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["msg", msg_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$5.lineno = 268;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (("console" in global) && typeof console.log == "function") {
var fn_$1 = "log";
try {
if (msg_$0 instanceof LzError) {
fn_$1 = "error"
} else if (msg_$0 instanceof LzWarning) {
fn_$1 = "warn"
} else if (msg_$0 instanceof LzInfo) {
fn_$1 = "info"
} else if (msg_$0 instanceof LzDebug) {
fn_$1 = "debug"
};
if (typeof console[fn_$1] != "function") {
fn_$1 = "log"
};
if (console[fn_$1].length == 0 && (msg_$0 instanceof LzMessage || msg_$0 instanceof LzSourceMessage)) {
$5.lineno = 304, console[fn_$1].apply(console, ($5.lineno = 304, msg_$0.toArray()));
return
}}
catch (e_$2) {};
$5.lineno = 309, console[fn_$1](($5.lineno = 309, msg_$0.toString()))
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "log";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 268;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 251;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzBootstrapDebugService.lzs#251/1";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 251;
return $lzsc$temp
})()(LzBootstrapDebugLogger);
Class.make("LzBootstrapDebugService", null, ["FUNCTION_NAME", "displayName", "FUNCTION_FILENAME", "_dbg_filename", "FUNCTION_LINENO", "_dbg_lineno", "backtraceStack", [], "uncaughtBacktraceStack", null, "log_all_writes", false, "logger", void 0, "console", void 0, "window", void 0, "environment", {}, "$lzsc$initialize", (function () {
var $lzsc$temp = function (logger_$0, console_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["logger", logger_$0, "console", console_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$6.lineno = 357;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
logger_$0 = null;;case 1:
console_$1 = null
};
if (logger_$0 == null) {
logger_$0 = ($6.lineno = 360, new LzBootstrapDebugLogger())
};
if (console_$1 == null) {
console_$1 = ($6.lineno = 364, new LzBootstrapDebugConsole())
};
var copy_$2 = {backtraceStack: true, uncaughtBacktraceStack: true};
for (var k_$3 in copy_$2) {
this[k_$3] = Debug[k_$3]
};
this.log_all_writes = !(!($6.lineno = 374, globalValue("logdebug")));
this.log_all_writes = global["console"] && typeof global.console["log"] == "function";
this.logger = logger_$0;
this.console = console_$1
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 357;
return $lzsc$temp
})(), "log", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 392;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 392, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 393, this.logger.log.apply(this.logger, args_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "log";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 392;
return $lzsc$temp
})(), "makeObjectLink", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 400;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 400, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 401, this.console.makeObjectLink.apply(this.console, args_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "makeObjectLink";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 400;
return $lzsc$temp
})(), "displayResult", (function () {
var $lzsc$temp = function (result_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["result", result_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 408;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
result_$0 = void 0
};
if (result_$0 !== void 0) {
$3.lineno = 410, this.__write(result_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "displayResult";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 408;
return $lzsc$temp
})(), "__write", (function () {
var $lzsc$temp = function (msg_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["msg", msg_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 419;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.log_all_writes) {
$3.lineno = 421, this.logger.log(msg_$0)
};
$3.lineno = 423, this.console.addText(msg_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__write";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 419;
return $lzsc$temp
})(), "debug", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 431;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 431, Array.prototype.slice.call(arguments, 0));
$3.lineno = 432, this.__write("DEBUG: " + ($3.lineno = 432, args_$0.join(" ")))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debug";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 431;
return $lzsc$temp
})(), "info", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 440;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 440, Array.prototype.slice.call(arguments, 0));
$3.lineno = 441, this.__write("INFO: " + ($3.lineno = 441, args_$0.join(" ")))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "info";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 440;
return $lzsc$temp
})(), "warn", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 449;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 449, Array.prototype.slice.call(arguments, 0));
$3.lineno = 450, this.__write("WARNING: " + ($3.lineno = 450, args_$0.join(" ")))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "warn";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 449;
return $lzsc$temp
})(), "error", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 458;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 458, Array.prototype.slice.call(arguments, 0));
$3.lineno = 459, this.__write("ERROR: " + ($3.lineno = 459, args_$0.join(" ")))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "error";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 458;
return $lzsc$temp
})(), "deprecated", (function () {
var $lzsc$temp = function (obj_$0, method_$1, replacement_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["obj", obj_$0, "method", method_$1, "replacement", replacement_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$5.lineno = 471;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
$5.lineno = 472, Debug.info("%w.%s is deprecated.  Use %w.%s instead", obj_$0, method_$1, obj_$0, replacement_$2)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "deprecated";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 471;
return $lzsc$temp
})(), "evalCarefully", (function () {
var $lzsc$temp = function (fileName_$0, lineNumber_$1, closure_$2, context_$3) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["fileName", fileName_$0, "lineNumber", lineNumber_$1, "closure", closure_$2, "context", context_$3];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$7.lineno = 485;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
try {
return $7.lineno = 488, closure_$2.call(context_$3)
}
catch (e_$4) {
$7.lineno = 490, $reportSourceWarning(fileName_$0, lineNumber_$1, e_$4)
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "evalCarefully";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 485;
return $lzsc$temp
})(), "ignoringErrors", (function () {
var $lzsc$temp = function (closure_$0, context_$1, errval_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["closure", closure_$0, "context", context_$1, "errval", errval_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$6.lineno = 503;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
try {
return $6.lineno = 506, closure_$0.call(context_$1)
}
catch (e_$3) {
return errval_$2
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "ignoringErrors";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 503;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 321;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzBootstrapDebugService.prototype._dbg_name = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$2.lineno = 513;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this === Debug) {
return "#Debug"
} else return null
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzBootstrapDebugService.lzs#513/49";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 513;
return $lzsc$temp
})()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzBootstrapDebugService.lzs#321/1";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 321;
return $lzsc$temp
})()(LzBootstrapDebugService);
var Debug = new LzBootstrapDebugService();
function trace () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$3.lineno = 533;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 533, Array.prototype.slice.call(arguments, 0));
$3.lineno = 533, Debug.info.apply(Debug, args_$0)
}
finally {
if ($2) {
$2.length--
}}};
trace["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
trace["_dbg_lineno"] = 533;
var $reportSourceWarning = (function () {
var $lzsc$temp = function (filename_$0, lineNumber_$1, msg_$2, fatal_$3) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["filename", filename_$0, "lineNumber", lineNumber_$1, "msg", msg_$2, "fatal", fatal_$3];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$7.lineno = 549;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var warning_$4 = filename_$0 + "@" + lineNumber_$1 + ": " + msg_$2 + "\n";
$7.lineno = 552, Debug[fatal_$3 ? "error" : "warn"](warning_$4)
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "$reportSourceWarning";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 549;
return $lzsc$temp
})();
var $reportedError = null;
var $reportException = (function () {
var $lzsc$temp = function (fileName_$0, lineNumber_$1, e_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["fileName", fileName_$0, "lineNumber", lineNumber_$1, "e", e_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$5.lineno = 565;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (e_$2 !== $reportedError) {
$reportedError = e_$2;
$5.lineno = 570, $reportSourceWarning(fileName_$0, lineNumber_$1, e_$2, true)
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$reportException";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 565;
return $lzsc$temp
})();
var $reportUndefinedObjectProperty = (function () {
var $lzsc$temp = function (filename_$0, lineNumber_$1, propertyName_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["filename", filename_$0, "lineNumber", lineNumber_$1, "propertyName", propertyName_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$5.lineno = 575;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (!arguments.callee._dbg_recursive_call) {
arguments.callee._dbg_recursive_call = true;
$5.lineno = 579, $reportSourceWarning(filename_$0, lineNumber_$1, "undefined object does not have a property '" + propertyName_$2 + "'", true);
arguments.callee._dbg_recursive_call = false
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzBootstrapDebugService.lzs#575/38";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 575;
return $lzsc$temp
})();
$reportUndefinedObjectProperty._dbg_recursive_call = false;
var $reportUndefinedProperty = (function () {
var $lzsc$temp = function (filename_$0, lineNumber_$1, propertyName_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["filename", filename_$0, "lineNumber", lineNumber_$1, "propertyName", propertyName_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$5.lineno = 586;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (!arguments.callee._dbg_recursive_call) {
arguments.callee._dbg_recursive_call = true;
$5.lineno = 590, $reportSourceWarning(filename_$0, lineNumber_$1, "reference to undefined property '" + propertyName_$2 + "'", false);
arguments.callee._dbg_recursive_call = false
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzBootstrapDebugService.lzs#586/32";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 586;
return $lzsc$temp
})();
$reportUndefinedProperty._dbg_recursive_call = false;
var $reportUndefinedVariable = (function () {
var $lzsc$temp = function (filename_$0, lineNumber_$1, variableName_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["filename", filename_$0, "lineNumber", lineNumber_$1, "variableName", variableName_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$5.lineno = 597;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (!arguments.callee._dbg_recursive_call) {
arguments.callee._dbg_recursive_call = true;
$5.lineno = 601, $reportSourceWarning(filename_$0, lineNumber_$1, "reference to undefined variable '" + variableName_$2 + "'", true);
arguments.callee._dbg_recursive_call = false
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzBootstrapDebugService.lzs#597/32";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 597;
return $lzsc$temp
})();
$reportUndefinedVariable._dbg_recursive_call = false;
var $reportNotFunction = (function () {
var $lzsc$temp = function (filename_$0, lineNumber_$1, name_$2, value_$3) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["filename", filename_$0, "lineNumber", lineNumber_$1, "name", name_$2, "value", value_$3];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$7.lineno = 608;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (!arguments.callee._dbg_recursive_call) {
arguments.callee._dbg_recursive_call = true;
var msg_$4 = "call to non-function";
if (typeof name_$2 == "string") msg_$4 += " '" + name_$2 + "'";
msg_$4 += " (type '" + typeof value_$3 + "')";
if (typeof value_$3 == "undefined") {
msg_$4 = "call to undefined function";
if (typeof name_$2 == "string") msg_$4 += " '" + name_$2 + "'"
};
$7.lineno = 621, $reportSourceWarning(filename_$0, lineNumber_$1, msg_$4, true);
arguments.callee._dbg_recursive_call = false
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzBootstrapDebugService.lzs#608/26";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 608;
return $lzsc$temp
})();
$reportNotFunction._dbg_recursive_call = false;
var $reportUndefinedMethod = (function () {
var $lzsc$temp = function (filename_$0, lineNumber_$1, name_$2, value_$3) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["filename", filename_$0, "lineNumber", lineNumber_$1, "name", name_$2, "value", value_$3];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/compiler/LzBootstrapDebugService.lzs";
$7.lineno = 628;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (!arguments.callee._dbg_recursive_call) {
arguments.callee._dbg_recursive_call = true;
var msg_$4 = "call to non-method";
if (typeof name_$2 == "string") msg_$4 += " '" + name_$2 + "'";
msg_$4 += " (type '" + typeof value_$3 + "')";
if (typeof value_$3 == "undefined") {
msg_$4 = "call to undefined method";
if (typeof name_$2 == "string") msg_$4 += " '" + name_$2 + "'"
};
$7.lineno = 643, $reportSourceWarning(filename_$0, lineNumber_$1, msg_$4, true);
arguments.callee._dbg_recursive_call = false
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzBootstrapDebugService.lzs#628/30";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzBootstrapDebugService.lzs";
$lzsc$temp["_dbg_lineno"] = 628;
return $lzsc$temp
})();
$reportUndefinedMethod._dbg_recursive_call = false;
Class.make("LzBootstrapMessage", null, ["message", "", "length", 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (message_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["message", message_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzMessage.lzs";
$3.lineno = 21;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
message_$0 = null
};
if (message_$0 != null) {
$3.lineno = 23, this.appendInternal("" + message_$0, message_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 21;
return $lzsc$temp
})(), "appendInternal", (function () {
var $lzsc$temp = function (str_$0, obj_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["str", str_$0, "obj", obj_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/compiler/LzMessage.lzs";
$4.lineno = 28;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
obj_$1 = null
};
this.message += str_$0;
this.length = this.message.length
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "appendInternal";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 28;
return $lzsc$temp
})(), "append", (function () {
var $lzsc$temp = function () {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = [];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/compiler/LzMessage.lzs";
$5.lineno = 34;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var str_$0 = ($5.lineno = 34, Array.prototype.slice.call(arguments, 0));
var len_$1 = str_$0.length;
for (var i_$2 = 0;i_$2 < len_$1;i_$2++) {
$5.lineno = 37, this.appendInternal(($5.lineno = 37, String(str_$0[i_$2])))
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "append";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 34;
return $lzsc$temp
})(), "charAt", (function () {
var $lzsc$temp = function (index_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["index", index_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzMessage.lzs";
$3.lineno = 53;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 53, this.message.charAt(index_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "charAt";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 53;
return $lzsc$temp
})(), "charCodeAt", (function () {
var $lzsc$temp = function (index_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["index", index_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzMessage.lzs";
$3.lineno = 55;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 55, this.message.charCodeAt(index_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "charCodeAt";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 55;
return $lzsc$temp
})(), "indexOf", (function () {
var $lzsc$temp = function (key_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["key", key_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzMessage.lzs";
$3.lineno = 57;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 57, this.message.indexOf(key_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "indexOf";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 57;
return $lzsc$temp
})(), "lastIndexOf", (function () {
var $lzsc$temp = function (key_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["key", key_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzMessage.lzs";
$3.lineno = 59;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 59, this.message.lastIndexOf(key_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "lastIndexOf";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 59;
return $lzsc$temp
})(), "toLowerCase", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/LzMessage.lzs";
$2.lineno = 61;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 62, new LzMessage(($2.lineno = 62, this.message.toLowerCase()))
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toLowerCase";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 61;
return $lzsc$temp
})(), "toUpperCase", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/LzMessage.lzs";
$2.lineno = 65;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 66, new LzMessage(($2.lineno = 66, this.message.toUpperCase()))
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toUpperCase";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 65;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/LzMessage.lzs";
$2.lineno = 77;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.message || ""
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 77;
return $lzsc$temp
})(), "valueOf", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/LzMessage.lzs";
$2.lineno = 87;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.message || ""
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "valueOf";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 87;
return $lzsc$temp
})(), "concat", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzMessage.lzs";
$3.lineno = 89;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 89, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 90, new LzMessage(($3.lineno = 90, this.message.concat.apply(this.message, args_$0)))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "concat";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 89;
return $lzsc$temp
})(), "slice", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzMessage.lzs";
$3.lineno = 93;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 93, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 93, this.message.slice.apply(this.message, args_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "slice";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 93;
return $lzsc$temp
})(), "split", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzMessage.lzs";
$3.lineno = 95;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 95, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 95, this.message.split.apply(this.message, args_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "split";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 95;
return $lzsc$temp
})(), "substr", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzMessage.lzs";
$3.lineno = 97;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 97, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 97, this.message.substr.apply(this.message, args_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "substr";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 97;
return $lzsc$temp
})(), "substring", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzMessage.lzs";
$3.lineno = 99;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 99, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 99, this.message.substring.apply(this.message, args_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "substring";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 99;
return $lzsc$temp
})(), "toHTML", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/LzMessage.lzs";
$2.lineno = 106;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 109, ($2.lineno = 109, this["toString"]()).toHTML()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toHTML";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 106;
return $lzsc$temp
})()], ["xmlEscape", (function () {
var $lzsc$temp = function (input_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["input", input_$0];
$7.callee = arguments.callee;
$7.filename = "lfc/compiler/LzMessage.lzs";
$7.lineno = 122;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (input_$0 && (typeof input_$0 == "string" || (String["$lzsc$isa"] ? ($7.lineno = 123, String.$lzsc$isa(input_$0)) : input_$0 instanceof String))) {
var len_$1 = input_$0.length;
var output_$2 = "";
for (var i_$3 = 0;i_$3 < len_$1;i_$3++) {
var c_$4 = ($7.lineno = 127, input_$0.charAt(i_$3));
switch (c_$4) {
case "<":
output_$2 += "&lt;";break;;case ">":
output_$2 += "&gt;";break;;default:
output_$2 += c_$4
}};
return output_$2
} else {
return input_$0
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "xmlEscape";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 122;
return $lzsc$temp
})()]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzMessage.lzs";
$3.lineno = 16;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzMessage.lzs#16/1";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 16;
return $lzsc$temp
})()(LzBootstrapMessage);
var LzMessage = LzBootstrapMessage;
String.prototype.toHTML = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/compiler/LzMessage.lzs";
$2.lineno = 170;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 171, LzMessage.xmlEscape(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzMessage.lzs#170/27";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 170;
return $lzsc$temp
})();
Mixin.make("LzFormatter", null, ["toNumber", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzFormatter.lzs";
$3.lineno = 111;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 111, Number(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "toNumber";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzFormatter.lzs";
$lzsc$temp["_dbg_lineno"] = 111;
return $lzsc$temp
})(), "pad", (function () {
var $lzsc$temp = function (value_$0, widthMin_$1, decMax_$2, pad_$3, sign_$4, radix_$5, force_$6) {
var $e = Debug;
var $f = $e.backtraceStack;
try {
if ($f) {
var $g = ["value", value_$0, "widthMin", widthMin_$1, "decMax", decMax_$2, "pad", pad_$3, "sign", sign_$4, "radix", radix_$5, "force", force_$6];
$g.callee = arguments.callee;
$g["this"] = this;
$g.filename = "lfc/compiler/LzFormatter.lzs";
$g.lineno = 131;
$f.push($g);
if ($f.length > $f.maxDepth) {
$e.stackOverflow()
}};
switch (arguments.length) {
case 0:
value_$0 = "";;case 1:
widthMin_$1 = 0;;case 2:
decMax_$2 = null;;case 3:
pad_$3 = " ";;case 4:
sign_$4 = "-";;case 5:
radix_$5 = 10;;case 6:
force_$6 = false
};
var isNumber_$7 = typeof value_$0 == "number";
if (isNumber_$7) {
if (decMax_$2 != null) {
var precision_$8 = ($g.lineno = 143, Math.pow(10, -decMax_$2));
value_$0 = ($g.lineno = 144, Math.round(value_$0 / precision_$8)) * precision_$8
};
value_$0 = ($g.lineno = 146, ($g.lineno = 146, Number(value_$0)).toString(radix_$5));
if (sign_$4 != "-") {
if (($g.lineno = 148, value_$0.indexOf("-")) != 0) {
if (value_$0 != 0) {
value_$0 = sign_$4 + value_$0
} else {
value_$0 = " " + value_$0
}}}} else {
value_$0 = "" + value_$0
};
var strlen_$9 = value_$0.length;
if (decMax_$2 != null) {
if (isNumber_$7) {
var decimal_$a = ($g.lineno = 164, value_$0.lastIndexOf("."));
if (decimal_$a == -1) {
var decimals_$b = 0;
if (force_$6 || decMax_$2 > 0) {
value_$0 += "."
}} else {
var decimals_$b = strlen_$9 - (decimal_$a + 1)
};
if (decimals_$b > decMax_$2) {
value_$0 = ($g.lineno = 174, value_$0.substring(0, strlen_$9 - (decimals_$b - decMax_$2)))
} else {
for (var i_$c = decimals_$b;i_$c < decMax_$2;i_$c++) value_$0 += "0"
}} else {
value_$0 = ($g.lineno = 179, value_$0.substring(0, decMax_$2))
}};
strlen_$9 = value_$0.length;
var leftJustify_$d = false;
if (widthMin_$1 < 0) {
widthMin_$1 = -widthMin_$1;
leftJustify_$d = true
};
if (strlen_$9 >= widthMin_$1) {
return value_$0
};
if (leftJustify_$d) {
for (var i_$c = strlen_$9;i_$c < widthMin_$1;i_$c++) value_$0 = value_$0 + " "
} else {
sign_$4 = null;
if (pad_$3 != " ") {
if (($g.lineno = 198, " +-".indexOf(($g.lineno = 198, value_$0.substring(0, 1)))) >= 0) {
sign_$4 = ($g.lineno = 199, value_$0.substring(0, 1));
value_$0 = ($g.lineno = 200, value_$0.substring(1))
}};
for (var i_$c = strlen_$9;i_$c < widthMin_$1;i_$c++) value_$0 = pad_$3 + value_$0;
if (sign_$4 != null) {
value_$0 = sign_$4 + value_$0
}};
return value_$0
}
finally {
if ($f) {
$f.length--
}}};
$lzsc$temp["displayName"] = "pad";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzFormatter.lzs";
$lzsc$temp["_dbg_lineno"] = 131;
return $lzsc$temp
})(), "abbreviate", (function () {
var $lzsc$temp = function (s_$0, l_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["s", s_$0, "l", l_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/compiler/LzFormatter.lzs";
$5.lineno = 223;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 1:
l_$1 = Infinity
};
var ellipsis_$2 = "\u2026";
if (s_$0.length > l_$1 - ellipsis_$2.length) {
s_$0 = ($5.lineno = 226, s_$0.substring(0, l_$1 - ellipsis_$2.length)) + ellipsis_$2
};
return s_$0
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "abbreviate";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzFormatter.lzs";
$lzsc$temp["_dbg_lineno"] = 223;
return $lzsc$temp
})(), "stringEscape", (function () {
var $lzsc$temp = function (s_$0, quoted_$1) {
var $c = Debug;
var $d = $c.backtraceStack;
try {
if ($d) {
var $e = ["s", s_$0, "quoted", quoted_$1];
$e.callee = arguments.callee;
$e["this"] = this;
$e.filename = "lfc/compiler/LzFormatter.lzs";
$e.lineno = 265;
$d.push($e);
if ($d.length > $d.maxDepth) {
$c.stackOverflow()
}};
switch (arguments.length) {
case 1:
quoted_$1 = false
};
s_$0 = ($e.lineno = 267, ($e.lineno = 267, s_$0.split("\\")).join("\\\\"));
var np_$2 = LzFormatter.singleEscapeCharacters;
var skip_$3 = '"';
var quote_$4 = "";
var ignore_$5 = "'";
if (quoted_$1) {
ignore_$5 = "";
var singles_$6 = ($e.lineno = 280, s_$0.split("'")).length;
var doubles_$7 = ($e.lineno = 281, s_$0.split('"')).length;
if (singles_$6 > doubles_$7) {
skip_$3 = "'";
quote_$4 = '"'
} else {
skip_$3 = '"';
quote_$4 = "'"
}};
for (var i_$8 = 0, l_$9 = np_$2.length;i_$8 < l_$9;i_$8 += 2) {
var rep_$a = np_$2[i_$8];
var ch_$b = np_$2[i_$8 + 1];
if (ch_$b != "\\" && ch_$b != skip_$3 && ch_$b != ignore_$5) {
s_$0 = ($e.lineno = 294, ($e.lineno = 294, s_$0.split(ch_$b)).join(rep_$a))
}};
return quote_$4 + s_$0 + quote_$4
}
finally {
if ($d) {
$d.length--
}}};
$lzsc$temp["displayName"] = "stringEscape";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzFormatter.lzs";
$lzsc$temp["_dbg_lineno"] = 265;
return $lzsc$temp
})(), "formatToString", (function () {
var $lzsc$temp = function (control) {
var $t = Debug;
var $u = $t.backtraceStack;
try {
var getarg_$7;
var consumearg_$8;
if ($u) {
var $v = ["control", control];
$v.callee = arguments.callee;
$v["this"] = this;
$v.filename = "lfc/compiler/LzFormatter.lzs";
$v.lineno = 361;
$u.push($v);
if ($u.length > $u.maxDepth) {
$t.stackOverflow()
}};
getarg_$7 = (function () {
var $lzsc$temp = function (i_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["i", i_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzFormatter.lzs";
$3.lineno = 386;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (i_$0 >= al) {
return null
};
return args[i_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getarg";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzFormatter.lzs";
$lzsc$temp["_dbg_lineno"] = 386;
return $lzsc$temp
})();
consumearg_$8 = (function () {
var $lzsc$temp = function (i_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["i", i_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzFormatter.lzs";
$3.lineno = 392;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (i_$0 >= al) {
$3.lineno = 395, Debug.warn("%#0.48w: insufficient arguments", control)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "consumearg";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzFormatter.lzs";
$lzsc$temp["_dbg_lineno"] = 392;
return $lzsc$temp
})();
switch (arguments.length) {
case 0:
control = ""
};
var args = ($v.lineno = 364, Array.prototype.slice.call(arguments, 1));
var al = args.length;
if (!(typeof control == "string" || (String["$lzsc$isa"] ? ($v.lineno = 365, String.$lzsc$isa(control)) : control instanceof String)) || al > 0 != ($v.lineno = 366, control.indexOf("%")) >= 0) {
args = ($v.lineno = 369, [control].concat(args));
al++;
var out_$0 = ($v.lineno = 371, new LzMessage());
for (var i_$1 = 0;i_$1 < al;i_$1++) {
var arg_$2 = args[i_$1];
var sep_$3 = i_$1 == al - 1 ? "\n" : " ";
$v.lineno = 375, out_$0.append(arg_$2);
$v.lineno = 377, out_$0.appendInternal(sep_$3)
};
return out_$0
};
var ctrl_$4 = "" + control;
var argno_$5 = 0;
var maxarg_$6 = 0;
var base_$9 = 0, limit_$a = ctrl_$4.length;
var start_$b = 0, end_$c = 0;
var out_$0 = ($v.lineno = 401, new LzMessage());
while (start_$b < limit_$a) {
end_$c = ($v.lineno = 403, ctrl_$4.indexOf("%"));
if (end_$c == -1) {
$v.lineno = 405, out_$0.append(($v.lineno = 405, ctrl_$4.substring(start_$b, limit_$a)));
break
};
$v.lineno = 408, out_$0.append(($v.lineno = 408, ctrl_$4.substring(start_$b, end_$c)));
base_$9 = end_$c;
start_$b = end_$c + 1;
end_$c = end_$c + 2;
var sign_$d = "-";
var pad_$e = " ";
var alternate_$f = false;
var length_$g = "";
var precision_$h = null;
var directive_$i = null;
var object_$j = null;
while (start_$b < limit_$a && directive_$i == null) {
var char_$k = ($v.lineno = 425, ctrl_$4.substring(start_$b, end_$c));
start_$b = end_$c++;
switch (char_$k) {
case "-":
length_$g = char_$k;break;;case "+":
case " ":
sign_$d = char_$k;break;;case "#":
alternate_$f = true;break;;case "0":
if (length_$g === "" && precision_$h === null) {
pad_$e = char_$k;
break
};case "1":
case "2":
case "3":
case "4":
case "5":
case "6":
case "7":
case "8":
case "9":
if (precision_$h !== null) {
precision_$h += char_$k
} else {
length_$g += char_$k
}break;;case "$":
argno_$5 = length_$g - 1;length_$g = "";break;;case "*":
if (precision_$h !== null) {
precision_$h = ($v.lineno = 460, getarg_$7(argno_$5));
$v.lineno = 461, consumearg_$8(argno_$5++)
} else {
length_$g = ($v.lineno = 463, getarg_$7(argno_$5));
$v.lineno = 464, consumearg_$8(argno_$5++)
}break;;case ".":
precision_$h = "";break;;case "h":
case "l":
break;;case "=":
object_$j = ($v.lineno = 474, getarg_$7(argno_$5));$v.lineno = 475, consumearg_$8(argno_$5++);break;;default:
directive_$i = char_$k;break
}};
var value_$l = ($v.lineno = 492, getarg_$7(argno_$5));
if (object_$j == null) {
object_$j = value_$l
};
var decimals_$m = null;
var force_$n = false;
if (precision_$h !== null) {
decimals_$m = 1 * precision_$h
} else {
switch (directive_$i) {
case "F":
case "E":
case "G":
case "f":
case "e":
case "g":
decimals_$m = 6;force_$n = alternate_$f;break;;case "O":
case "o":
if (alternate_$f && value_$l != 0) {
$v.lineno = 510, out_$0.append("0")
}break;;case "X":
case "x":
if (alternate_$f && value_$l != 0) {
$v.lineno = 515, out_$0.append("0" + directive_$i)
}break
}};
var radix_$o = 10;
switch (directive_$i) {
case "o":
case "O":
radix_$o = 8;break;;case "x":
case "X":
radix_$o = 16;break
};
switch (directive_$i) {
case "U":
case "O":
case "X":
case "u":
case "o":
case "x":
if (value_$l < 0) {
value_$l = -value_$l;
var wid_$p = ($v.lineno = 540, Math.abs(($v.lineno = 540, parseInt(length_$g, 10))));
if ($v.lineno = 541, isNaN(wid_$p)) {
wid_$p = ($v.lineno = 542, ($v.lineno = 542, this.toNumber(value_$l)).toString(radix_$o)).length
};
var max_$q = ($v.lineno = 544, Math.pow(radix_$o, wid_$p));
value_$l = max_$q - value_$l
}break
};
switch (directive_$i) {
case "D":
case "U":
case "I":
case "O":
case "X":
case "F":
case "E":
case "G":
value_$l = ($v.lineno = 556, this.toNumber(value_$l));$v.lineno = 557, out_$0.appendInternal(($v.lineno = 557, ($v.lineno = 557, this.pad(value_$l, length_$g, decimals_$m, pad_$e, sign_$d, radix_$o, force_$n)).toUpperCase()), object_$j);$v.lineno = 558, consumearg_$8(argno_$5++);break;;case "c":
value_$l = ($v.lineno = 561, String.fromCharCode(value_$l));;case "w":
{
var width_$r = decimals_$m || Debug.printLength;
$v.lineno = 568, out_$0.appendInternal(($v.lineno = 568, this.pad(($v.lineno = 568, Debug.__String(value_$l, true, width_$r, alternate_$f)), length_$g, null, pad_$e, sign_$d, radix_$o, force_$n)), object_$j);
$v.lineno = 571, consumearg_$8(argno_$5++);
break
};case "s":
var str_$s;if (Function["$lzsc$isa"] ? ($v.lineno = 578, Function.$lzsc$isa(value_$l)) : value_$l instanceof Function) {
str_$s = ($v.lineno = 580, Debug.functionName(value_$l, false));
if (!str_$s) {
str_$s = "function () {\u2026}"
}} else if (typeof value_$l == "number") {
str_$s = ($v.lineno = 587, ($v.lineno = 587, Number(value_$l)).toString(radix_$o))
} else if (directive_$i == "w" && typeof value_$l == "string") {
str_$s = ($v.lineno = 590, this.stringEscape(value_$l, true))
} else {
str_$s = "" + value_$l
}if (alternate_$f) {
var width_$r = decimals_$m || Debug.printLength;
if (width_$r) {
str_$s = ($v.lineno = 602, this.abbreviate(str_$s, width_$r));
decimals_$m = null
}}$v.lineno = 606, out_$0.appendInternal(($v.lineno = 606, this.pad(str_$s, length_$g, decimals_$m, pad_$e, sign_$d, radix_$o, force_$n)), object_$j);$v.lineno = 608, consumearg_$8(argno_$5++);break;;case "d":
case "u":
case "i":
case "o":
case "x":
case "f":
case "e":
case "g":
value_$l = ($v.lineno = 611, this.toNumber(value_$l));$v.lineno = 612, out_$0.appendInternal(($v.lineno = 612, this.pad(value_$l, length_$g, decimals_$m, pad_$e, sign_$d, radix_$o, force_$n)), object_$j);$v.lineno = 613, consumearg_$8(argno_$5++);break;;case "%":
$v.lineno = 616, out_$0.append("%");break;;default:
$v.lineno = 620, out_$0.append(($v.lineno = 620, ctrl_$4.substring(base_$9, start_$b)));break
};
ctrl_$4 = ($v.lineno = 623, ctrl_$4.substring(start_$b, limit_$a));
base_$9 = 0, limit_$a = ctrl_$4.length;
start_$b = 0, end_$c = 0;
if (argno_$5 > maxarg_$6) {
maxarg_$6 = argno_$5
}};
if (maxarg_$6 < al) {
$v.lineno = 630, Debug.warn("%#0.48w: excess arguments", control);
$v.lineno = 633, out_$0.appendInternal(" ");
for (;maxarg_$6 < al;maxarg_$6++) {
var arg_$2 = ($v.lineno = 635, getarg_$7(maxarg_$6));
var sep_$3 = maxarg_$6 == al - 1 ? "\n" : " ";
$v.lineno = 637, out_$0.append(arg_$2);
$v.lineno = 638, out_$0.appendInternal(sep_$3)
}};
return out_$0
}
finally {
if ($u) {
$u.length--
}}};
$lzsc$temp["displayName"] = "formatToString";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzFormatter.lzs";
$lzsc$temp["_dbg_lineno"] = 361;
return $lzsc$temp
})()], ["singleEscapeCharacters", ["\\b", "\b", "\\t", "\t", "\\n", "\n", "\\v", String.fromCharCode(11), "\\f", "\f", "\\r", "\r", '\\"', '"', "\\'", "'", "\\\\", "\\"]]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/compiler/LzFormatter.lzs";
$3.lineno = 88;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "compiler/LzFormatter.lzs#88/1";
$lzsc$temp["_dbg_filename"] = "lfc/compiler/LzFormatter.lzs";
$lzsc$temp["_dbg_lineno"] = 88;
return $lzsc$temp
})()(LzFormatter);
Class.make("LzDebugMessage", LzBootstrapMessage, ["objects", [], "$lzsc$initialize", (function () {
var $lzsc$temp = function (message_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["message", message_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMessage.lzs";
$3.lineno = 35;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
message_$0 = null
};
this.objects = [];
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($3.lineno = 46, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, message_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 35;
return $lzsc$temp
})(), "toLowerCase", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMessage.lzs";
$3.lineno = 53;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var msg_$0 = ($3.lineno = 54, new LzMessage(($3.lineno = 54, this.message.toLowerCase())));
msg_$0.objects = ($3.lineno = 55, this.objects.concat());
return msg_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "toLowerCase";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 53;
return $lzsc$temp
})(), "toUpperCase", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMessage.lzs";
$3.lineno = 59;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var msg_$0 = ($3.lineno = 60, new LzMessage(($3.lineno = 60, this.message.toUpperCase())));
msg_$0.objects = ($3.lineno = 61, this.objects.concat());
return msg_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "toUpperCase";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 59;
return $lzsc$temp
})(), "concat", (function () {
var $lzsc$temp = function () {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = [];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/debugger/LzMessage.lzs";
$a.lineno = 65;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
var args_$0 = ($a.lineno = 65, Array.prototype.slice.call(arguments, 0));
var msg_$1 = ($a.lineno = 66, new LzMessage(($a.lineno = 66, this.message.concat.apply(this.message, args_$0))));
var offset_$2 = this.message.length;
for (var i_$3 = 0;i_$3 < args_$0.length;i_$3++) {
var arg_$4 = args_$0[i_$3];
if (LzDebugMessage["$lzsc$isa"] ? ($a.lineno = 70, LzDebugMessage.$lzsc$isa(arg_$4)) : arg_$4 instanceof LzDebugMessage) {
var ao_$5 = arg_$4.objects;
for (var j_$6 = 0;j_$6 < ao_$5.length;j_$6++) {
var od_$7 = ao_$5[j_$6];
$a.lineno = 74, msg_$1.objects.push({id: od_$7.id, start: od_$7.start + offset_$2, end: od_$7.end + offset_$2})
}};
offset_$2 += ($a.lineno = 77, String(arg_$4)).length
};
return msg_$1
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "concat";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 65;
return $lzsc$temp
})(), "slice", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMessage.lzs";
$3.lineno = 83;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 83, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 83, this.message.slice.apply(this.message, args_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "slice";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 83;
return $lzsc$temp
})(), "split", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMessage.lzs";
$3.lineno = 86;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 86, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 86, this.message.split.apply(this.message, args_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "split";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 86;
return $lzsc$temp
})(), "substr", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMessage.lzs";
$3.lineno = 89;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 89, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 89, this.message.substr.apply(this.message, args_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "substr";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 89;
return $lzsc$temp
})(), "substring", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMessage.lzs";
$3.lineno = 92;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 92, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 92, this.message.substring.apply(this.message, args_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "substring";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 92;
return $lzsc$temp
})(), "appendInternal", (function () {
var $lzsc$temp = function (str_$0, obj_$1) {
var $a = Debug;
var $b = $a.backtraceStack;
try {
if ($b) {
var $c = ["str", str_$0, "obj", obj_$1];
$c.callee = arguments.callee;
$c["this"] = this;
$c.filename = "lfc/debugger/LzMessage.lzs";
$c.lineno = 110;
$b.push($c);
if ($b.length > $b.maxDepth) {
$a.stackOverflow()
}};
switch (arguments.length) {
case 1:
obj_$1 = null
};
if (obj_$1 != null) {
var id_$2 = ($c.lineno = 112, Debug.IDForObject(obj_$1))
} else {
var id_$2 = null
};
if (id_$2 == null) {
this.message += str_$0
} else if (LzDebugMessage["$lzsc$isa"] ? ($c.lineno = 118, LzDebugMessage.$lzsc$isa(obj_$1)) : obj_$1 instanceof LzDebugMessage) {
var arg_$3 = obj_$1;
var offset_$4 = this.message.length;
this.message += arg_$3.message;
var ao_$5 = arg_$3.objects;
for (var j_$6 = 0;j_$6 < ao_$5.length;j_$6++) {
var od_$7 = ao_$5[j_$6];
$c.lineno = 126, this.objects.push({id: od_$7.id, start: od_$7.start + offset_$4, end: od_$7.end + offset_$4})
}} else {
var start_$8 = this.message.length;
this.message += str_$0;
var end_$9 = this.message.length;
$c.lineno = 132, this.objects.push({id: id_$2, start: start_$8, end: end_$9})
};
this.length = this.message.length
}
finally {
if ($b) {
$b.length--
}}};
$lzsc$temp["displayName"] = "appendInternal";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 110;
return $lzsc$temp
})(), "append", (function () {
var $lzsc$temp = function () {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = [];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/debugger/LzMessage.lzs";
$7.lineno = 147;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var args_$0 = ($7.lineno = 147, Array.prototype.slice.call(arguments, 0));
var len_$1 = args_$0.length;
for (var i_$2 = 0;i_$2 < len_$1;i_$2++) {
var arg_$3 = args_$0[i_$2];
if (!((String["$lzsc$isa"] ? ($7.lineno = 153, String.$lzsc$isa(arg_$3)) : arg_$3 instanceof String) && arg_$3["constructor"] === String) && ((Object["$lzsc$isa"] ? ($7.lineno = 154, Object.$lzsc$isa(arg_$3)) : arg_$3 instanceof Object) || ($7.lineno = 154, Debug.isObjectLike(arg_$3)) || ($7.lineno = 154, Debug.IDForObject(arg_$3)) != null)) {
var str_$4 = ($7.lineno = 156, Debug.__String(arg_$3, true, Infinity, true));
$7.lineno = 157, this.appendInternal(str_$4, arg_$3)
} else {
$7.lineno = 159, this.appendInternal(($7.lineno = 159, String(arg_$3)))
}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "append";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 147;
return $lzsc$temp
})(), "toArray", (function () {
var $lzsc$temp = function (linkMaker_$0) {
var $c = Debug;
var $d = $c.backtraceStack;
try {
if ($d) {
var $e = ["linkMaker", linkMaker_$0];
$e.callee = arguments.callee;
$e["this"] = this;
$e.filename = "lfc/debugger/LzMessage.lzs";
$e.lineno = 172;
$d.push($e);
if ($d.length > $d.maxDepth) {
$c.stackOverflow()
}};
switch (arguments.length) {
case 0:
linkMaker_$0 = null
};
if (linkMaker_$0 == null) {
linkMaker_$0 = (function () {
var $lzsc$temp = function (rep_$0, id_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["rep", rep_$0, "id", id_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzMessage.lzs";
$4.lineno = 174;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return $4.lineno = 174, Debug.ObjectForID(id_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMessage.lzs#174/19";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 174;
return $lzsc$temp
})()
};
var msg_$1 = this.message;
var base_$2 = 0;
var limit_$3 = msg_$1.length;
var start_$4 = 0;
var end_$5 = 0;
var objs_$6 = this.objects;
var id_$7;
var array_$8 = [];
var len_$9 = objs_$6.length;
for (var i_$a = 0;i_$a < len_$9;i_$a++) {
var annot_$b = objs_$6[i_$a];
start_$4 = annot_$b.start;
end_$5 = annot_$b.end;
id_$7 = annot_$b.id;
$e.lineno = 190, array_$8.push(($e.lineno = 190, ($e.lineno = 190, msg_$1.substring(base_$2, start_$4)).toHTML()));
$e.lineno = 191, array_$8.push(($e.lineno = 191, linkMaker_$0(($e.lineno = 191, ($e.lineno = 191, msg_$1.substring(start_$4, end_$5)).toHTML()), id_$7)));
base_$2 = end_$5
};
$e.lineno = 194, array_$8.push(($e.lineno = 194, ($e.lineno = 194, msg_$1.substring(base_$2, limit_$3)).toHTML()));
return array_$8
}
finally {
if ($d) {
$d.length--
}}};
$lzsc$temp["displayName"] = "toArray";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 172;
return $lzsc$temp
})(), "toHTML", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzMessage.lzs";
$2.lineno = 203;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return( $2.lineno = 204, ($2.lineno = 204, this.toArray((function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMessage.lzs";
$3.lineno = 204;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 204, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 205, Debug.makeObjectLink.apply(Debug, args_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMessage.lzs#204/25";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 204;
return $lzsc$temp
})())).join(""))
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toHTML";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 203;
return $lzsc$temp
})()], ["xmlEscape", LzBootstrapMessage.xmlEscape]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMessage.lzs";
$3.lineno = 29;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMessage.lzs#29/1";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 29;
return $lzsc$temp
})()(LzDebugMessage);
var LzMessage = LzDebugMessage;
Class.make("LzSourceMessage", null, ["file", void 0, "__filePrefix", "@", "line", void 0, "__linePrefix", "\u2248", "message", void 0, "length", void 0, "backtrace", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (file_$0, line_$1, message_$2, node_$3) {
var $b = Debug;
var $c = $b.backtraceStack;
try {
if ($c) {
var $d = ["file", file_$0, "line", line_$1, "message", message_$2, "node", node_$3];
$d.callee = arguments.callee;
$d["this"] = this;
$d.filename = "lfc/debugger/LzMessage.lzs";
$d.lineno = 261;
$c.push($d);
if ($c.length > $c.maxDepth) {
$b.stackOverflow()
}};
switch (arguments.length) {
case 0:
file_$0 = null;;case 1:
line_$1 = 0;;case 2:
message_$2 = "";;case 3:
node_$3 = null
};
var bts_$4 = ($d.lineno = 264, Debug.backtrace());
if (bts_$4 != null) {
var btsl_$5 = bts_$4.length;
var limit_$6 = btsl_$5;
for (var i_$7 = btsl_$5 - 1;i_$7 > 0;i_$7--) {
var callee_$8 = bts_$4[i_$7].callee;
if (callee_$8 === $reportException) {
limit_$6 = i_$7;
break
} else if (callee_$8 === $reportSourceWarning) {
limit_$6 = i_$7
} else if (callee_$8 === Debug.warnInternal) {
limit_$6 = i_$7 - 1
}};
if (btsl_$5 >= limit_$6) {
for (var i_$7 = btsl_$5 - 1;i_$7 >= limit_$6;i_$7--) {
var frame_$9 = bts_$4[i_$7];
delete bts_$4[i_$7];
bts_$4["__" + i_$7] = frame_$9
};
bts_$4.length = limit_$6;
this.backtrace = bts_$4;
var top_$a = ($d.lineno = 305, this.backtrace.userStackFrame());
if (top_$a) {
if (file_$0 == null) {
file_$0 = ($d.lineno = 308, top_$a.filename());
line_$1 = ($d.lineno = 309, top_$a.lineno());
this.__linePrefix = "#"
} else if (file_$0 == ($d.lineno = 312, top_$a.filename()) && line_$1 == ($d.lineno = 313, top_$a.lineno())) {
this.__linePrefix = "#"
}}}};
if (file_$0 == null && node_$3 != null) {
file_$0 = node_$3[Debug.FUNCTION_FILENAME];
this.__filePrefix = "%";
if (node_$3[Debug.FUNCTION_LINENO]) {
line_$1 = node_$3[Debug.FUNCTION_LINENO];
this.__linePrefix = "#"
}};
this.file = file_$0;
this.line = line_$1;
if (LzMessage["$lzsc$isa"] ? ($d.lineno = 333, LzMessage.$lzsc$isa(message_$2)) : message_$2 instanceof LzMessage) {
this.message = message_$2
} else {
this.message = ($d.lineno = 336, new LzMessage(message_$2))
};
this.length = ($d.lineno = 338, this.toString()).length
}
finally {
if ($c) {
$c.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 261;
return $lzsc$temp
})(), "locationString", (function () {
var $lzsc$temp = function (prefix_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["prefix", prefix_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzMessage.lzs";
$4.lineno = 375;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
prefix_$0 = ""
};
var str_$1 = prefix_$0;
if (this.file) {
if (str_$1.length) {
str_$1 += " "
};
str_$1 += this.__filePrefix;
str_$1 += this.file;
if (this.line) {
str_$1 += this.__linePrefix;
str_$1 += this.line
}};
if (str_$1.length) {
str_$1 += ": "
};
return str_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "locationString";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 375;
return $lzsc$temp
})(), "toArray", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMessage.lzs";
$3.lineno = 394;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var array_$0 = [($3.lineno = 395, this.locationString(this["constructor"].type))];
if (LzMessage["$lzsc$isa"] ? ($3.lineno = 396, LzMessage.$lzsc$isa(this.message)) : this.message instanceof LzMessage) {
return $3.lineno = 397, array_$0.concat(($3.lineno = 397, this.message.toArray()))
};
return $3.lineno = 399, array_$0.concat("" + this.message)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "toArray";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 394;
return $lzsc$temp
})(), "toStringInternal", (function () {
var $lzsc$temp = function (conversion_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["conversion", conversion_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMessage.lzs";
$3.lineno = 406;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return ($3.lineno = 407, this.locationString(this["constructor"].type)) + ($3.lineno = 407, this.message[conversion_$0]())
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "toStringInternal";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 406;
return $lzsc$temp
})(), "_dbg_name", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzMessage.lzs";
$2.lineno = 413;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return ($2.lineno = 415, this.locationString("")) + this.message
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMessage.lzs#413/19";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 413;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzMessage.lzs";
$2.lineno = 422;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return ($2.lineno = 425, this.toStringInternal("toString")) + "\n"
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 422;
return $lzsc$temp
})(), "toHTML", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMessage.lzs";
$3.lineno = 433;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var id_$0 = ($3.lineno = 435, Debug.IDForObject(this));
return ($3.lineno = 438, Debug.makeObjectLink(($3.lineno = 438, this.toStringInternal("toHTML")), id_$0, this["constructor"])) + "\n"
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "toHTML";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 433;
return $lzsc$temp
})()], ["type", "", "color", "#000000", "level", 0, "levelMax", 5, "format", (function () {
var $lzsc$temp = function (file_$0, line_$1, control_$2) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["file", file_$0, "line", line_$1, "control", control_$2];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/debugger/LzMessage.lzs";
$b.lineno = 354;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
switch (arguments.length) {
case 0:
file_$0 = null;;case 1:
line_$1 = 0;;case 2:
control_$2 = ""
};
var args_$3 = ($b.lineno = 359, Array.prototype.slice.call(arguments, 3));
var debug_$4 = Debug;
var message_$5 = ($b.lineno = 356, debug_$4.formatToString.apply(debug_$4, ($b.lineno = 356, [control_$2].concat(args_$3))));
var node_$6 = null;
if (file_$0 == null) {
for (var i_$7 = 0;i_$7 < args_$3.length;i_$7++) {
var arg_$8 = args_$3[i_$7];
if ((LzNode["$lzsc$isa"] ? ($b.lineno = 362, LzNode.$lzsc$isa(arg_$8)) : arg_$8 instanceof LzNode) && arg_$8[Debug.FUNCTION_FILENAME]) {
node_$6 = arg_$8;
break
}}};
return $b.lineno = 368, new this(file_$0, line_$1, message_$5, node_$6)
}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "format";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 354;
return $lzsc$temp
})()]);
Class.make("LzWarning", LzSourceMessage, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (file_$0, line_$1, message_$2, node_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["file", file_$0, "line", line_$1, "message", message_$2, "node", node_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzMessage.lzs";
$6.lineno = 450;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
file_$0 = null;;case 1:
line_$1 = 0;;case 2:
message_$2 = "";;case 3:
node_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 451, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, file_$0, line_$1, message_$2, node_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 450;
return $lzsc$temp
})()], ["type", "WARNING", "color", "#ff9900", "format", LzSourceMessage.format]);
Class.make("LzError", LzSourceMessage, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (file_$0, line_$1, message_$2, node_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["file", file_$0, "line", line_$1, "message", message_$2, "node", node_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzMessage.lzs";
$6.lineno = 465;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
file_$0 = null;;case 1:
line_$1 = 0;;case 2:
message_$2 = "";;case 3:
node_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 466, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, file_$0, line_$1, message_$2, node_$3);
Debug.lastError = this
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 465;
return $lzsc$temp
})()], ["type", "ERROR", "color", "#ff0000", "format", LzSourceMessage.format]);
Class.make("LzInfo", LzSourceMessage, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (file_$0, line_$1, message_$2, node_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["file", file_$0, "line", line_$1, "message", message_$2, "node", node_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzMessage.lzs";
$6.lineno = 482;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
file_$0 = null;;case 1:
line_$1 = 0;;case 2:
message_$2 = "";;case 3:
node_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 483, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, file_$0, line_$1, message_$2, node_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 482;
return $lzsc$temp
})()], ["type", "INFO", "color", "#0066cc", "format", LzSourceMessage.format]);
Class.make("LzDebug", LzSourceMessage, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (file_$0, line_$1, message_$2, node_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["file", file_$0, "line", line_$1, "message", message_$2, "node", node_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzMessage.lzs";
$6.lineno = 497;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
file_$0 = null;;case 1:
line_$1 = 0;;case 2:
message_$2 = "";;case 3:
node_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 498, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, file_$0, line_$1, message_$2, node_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMessage.lzs";
$lzsc$temp["_dbg_lineno"] = 497;
return $lzsc$temp
})()], ["type", "DEBUG", "color", "#00cc00", "format", LzSourceMessage.format]);
global._dbg_name = "global";
Class.make("LzDebugService", [LzFormatter, LzBootstrapDebugService], ["base", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (base_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["base", base_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/LzDebug.lzs";
$5.lineno = 116;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($5.lineno = 117, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, base_$0 != null ? base_$0.logger : null, base_$0 != null ? base_$0.console : null);
if (base_$0 != null) {
this.base = base_$0;
var copy_$1 = {backtraceStack: true, uncaughtBacktraceStack: true};
for (var k_$2 in copy_$1) {
this[k_$2] = base_$0[k_$2]
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 116;
return $lzsc$temp
})(), "printLength", 1024, "printDepth", 8, "inspectPrintLength", 128, "inspectPrintDepth", 1, "printDetectCircular", null, "messageLevel", "ALL", "showInternalProperties", false, "atFreshLine", true, "atPrompt", false, "attachDebugConsole", (function () {
var $lzsc$temp = function (console_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["console", console_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/debugger/LzDebug.lzs";
$7.lineno = 256;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var old_$1 = this.console;
this.console = console_$0;
var sm_$2 = old_$1.saved_msgs;
var sml_$3 = sm_$2.length;
for (var i_$4 = 0;i_$4 < sml_$3;i_$4++) {
$7.lineno = 263, this.console.addText(sm_$2[i_$4])
};
return this
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "attachDebugConsole";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 256;
return $lzsc$temp
})(), "freshLine", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzDebug.lzs";
$2.lineno = 274;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.atFreshLine) {
$2.lineno = 276, this.console.addText("\n");
this.atFreshLine = true
};
this.atPrompt = false
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "freshLine";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 274;
return $lzsc$temp
})(), "freshPrompt", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzDebug.lzs";
$2.lineno = 286;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.atPrompt) {
$2.lineno = 288, this.freshLine();
$2.lineno = 289, this.console.echo("lzx&gt; ", false);
this.atPrompt = true
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "freshPrompt";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 286;
return $lzsc$temp
})(), "echo", (function () {
var $lzsc$temp = function (str_$0, newLine_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["str", str_$0, "newLine", newLine_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzDebug.lzs";
$4.lineno = 298;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
newLine_$1 = true
};
$4.lineno = 299, this.console.echo(str_$0, newLine_$1);
this.atPrompt = false;
this.atFreshLine = newLine_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "echo";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 298;
return $lzsc$temp
})(), "doEval", (function () {
var $lzsc$temp = function (expr_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["expr", expr_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzDebug.lzs";
$4.lineno = 309;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
$4.lineno = 310, this.freshPrompt();
$4.lineno = 312, this.echo(($4.lineno = 312, ($4.lineno = 312, String(expr_$0))["toHTML"]()));
try {
$4.lineno = 315, this.console.doEval(expr_$0)
}
catch (e_$1) {
$4.lineno = 317, this.error(e_$1)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "doEval";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 309;
return $lzsc$temp
})(), "clear", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzDebug.lzs";
$2.lineno = 326;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 327, this.console.clear()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "clear";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 326;
return $lzsc$temp
})(), "displayObj", (function () {
var $lzsc$temp = function (id_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["id", id_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzDebug.lzs";
$4.lineno = 336;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var obj_$1 = ($4.lineno = 337, this.ObjectForID(id_$0));
$4.lineno = 340, this.freshPrompt();
$4.lineno = 341, this.echo(($4.lineno = 341, ($4.lineno = 341, this.formatToString("Debug.inspect(%0.48w)", obj_$1))["toHTML"]()));
$4.lineno = 342, this.displayResult(($4.lineno = 342, this.inspect(obj_$1)))
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "displayObj";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 336;
return $lzsc$temp
})(), "updateOutputState", (function () {
var $lzsc$temp = function (msg_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["msg", msg_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzDebug.lzs";
$4.lineno = 349;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var str_$1 = ($4.lineno = 350, String(msg_$0));
this.atFreshLine = ($4.lineno = 351, str_$1.charAt(str_$1.length - 1)) == "\n";
if (str_$1.length) {
this.atPrompt = false;
$4.lineno = 355, this.console.ensureVisible()
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "updateOutputState";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 349;
return $lzsc$temp
})(), "displayResult", (function () {
var $lzsc$temp = function (result_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["result", result_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzDebug.lzs";
$4.lineno = 364;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
result_$0 = void 0
};
var e_$1 = this.environment;
if (result_$0 !== void 0) {
if (result_$0 !== e_$1["_"]) {
if (e_$1["__"] !== void 0) {
e_$1.___ = e_$1.__
};
if (e_$1["_"] !== void 0) {
e_$1.__ = e_$1._
};
e_$1._ = result_$0
}};
$4.lineno = 378, this.freshLine();
if (result_$0 !== void 0) {
$4.lineno = 381, this.format("%#w", result_$0)
};
$4.lineno = 383, this.freshPrompt()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "displayResult";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 364;
return $lzsc$temp
})(), "__write", (function () {
var $lzsc$temp = function (msg_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["msg", msg_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzDebug.lzs";
$3.lineno = 396;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.log_all_writes || !(!($3.lineno = 397, globalValue("logdebug")))) {
$3.lineno = 398, this.logger.log(msg_$0)
};
$3.lineno = 400, this.console.addText(msg_$0);
$3.lineno = 401, this.updateOutputState(msg_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__write";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 396;
return $lzsc$temp
})(), "write", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzDebug.lzs";
$4.lineno = 428;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var any_$0 = ($4.lineno = 428, Array.prototype.slice.call(arguments, 0));
var msg_$1;
msg_$1 = ($4.lineno = 431, this.formatToString.apply(this, any_$0));
$4.lineno = 432, this.freshLine();
$4.lineno = 433, this.__write(msg_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "write";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 428;
return $lzsc$temp
})(), "format", (function () {
var $lzsc$temp = function (control_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["control", control_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzDebug.lzs";
$4.lineno = 449;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var args_$1 = ($4.lineno = 449, Array.prototype.slice.call(arguments, 1));
$4.lineno = 450, this.__write(($4.lineno = 450, this.formatToString.apply(this, ($4.lineno = 450, [control_$0].concat(args_$1)))))
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "format";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 449;
return $lzsc$temp
})(), "warnInternal", (function () {
var $lzsc$temp = function (xtor_$0, control_$1) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["xtor", xtor_$0, "control", control_$1];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/debugger/LzDebug.lzs";
$a.lineno = 463;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
var args_$2 = ($a.lineno = 463, Array.prototype.slice.call(arguments, 2));
var sourceMessage_$3 = LzSourceMessage;
var level_$4 = sourceMessage_$3.level;
if (level_$4 > sourceMessage_$3.levelMax) {
return
};
try {
sourceMessage_$3.level = level_$4 + 1;
var msg_$5 = ($a.lineno = 470, xtor_$0["format"].apply(xtor_$0, ($a.lineno = 470, [null, null, control_$1].concat(args_$2))));
var mls_$6 = LzDebugService.messageLevels;
var t_$7 = xtor_$0["type"];
if ((t_$7 in mls_$6) ? mls_$6[t_$7] >= mls_$6[this.messageLevel] : true) {
$a.lineno = 476, this.freshLine();
$a.lineno = 477, this.__write(msg_$5)
}}
finally {
sourceMessage_$3.level = level_$4
};
return msg_$5
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "warnInternal";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 463;
return $lzsc$temp
})(), "warn", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzDebug.lzs";
$3.lineno = 499;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 499, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 500, this.warnInternal.apply(this, ($3.lineno = 500, [LzWarning].concat(args_$0)))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "warn";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 499;
return $lzsc$temp
})(), "error", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzDebug.lzs";
$3.lineno = 515;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 515, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 516, this.warnInternal.apply(this, ($3.lineno = 516, [LzError].concat(args_$0)))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "error";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 515;
return $lzsc$temp
})(), "info", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzDebug.lzs";
$3.lineno = 531;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 531, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 532, this.warnInternal.apply(this, ($3.lineno = 532, [LzInfo].concat(args_$0)))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "info";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 531;
return $lzsc$temp
})(), "debug", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzDebug.lzs";
$3.lineno = 547;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var args_$0 = ($3.lineno = 547, Array.prototype.slice.call(arguments, 0));
return $3.lineno = 548, this.warnInternal.apply(this, ($3.lineno = 548, [LzDebug].concat(args_$0)))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debug";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 547;
return $lzsc$temp
})(), "inspect", (function () {
var $lzsc$temp = function (obj_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["obj", obj_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzDebug.lzs";
$4.lineno = 569;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var msg_$1 = ($4.lineno = 570, this.inspectInternal(obj_$0));
$4.lineno = 572, this.freshLine();
$4.lineno = 576, this.console.addHTMLText(msg_$1);
$4.lineno = 577, this.updateOutputState(msg_$1);
return obj_$0
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "inspect";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 569;
return $lzsc$temp
})(), "explainStyleBindings", (function () {
var $lzsc$temp = function (node_$0, showInherited_$1) {
var $j = Debug;
var $k = $j.backtraceStack;
try {
if ($k) {
var $l = ["node", node_$0, "showInherited", showInherited_$1];
$l.callee = arguments.callee;
$l["this"] = this;
$l.filename = "lfc/debugger/LzDebug.lzs";
$l.lineno = 597;
$k.push($l);
if ($k.length > $k.maxDepth) {
$j.stackOverflow()
}};
switch (arguments.length) {
case 1:
showInherited_$1 = false
};
var style_$2 = LzCSSStyle;
var pc_$3 = ($l.lineno = 599, style_$2.getPropertyCache(node_$0));
var ppc_$4 = ($l.lineno = 600, style_$2.getPropertyCache(node_$0.immediateparent));
var rc_$5 = ($l.lineno = 601, style_$2.getRulesCache(node_$0));
var ps_$6 = [];
var sp_$7 = node_$0.__LZStyledProperties;
if (sp_$7) {
for (var i_$8 = 0, l_$9 = sp_$7.length;i_$8 < l_$9;i_$8++) {
var p_$a = sp_$7[i_$8];
if (showInherited_$1 || pc_$3[p_$a] !== ppc_$4[p_$a]) {
$l.lineno = 608, ps_$6.push(p_$a)
}}};
$l.lineno = 612, ps_$6.sort(this.caseInsensitiveOrdering);
var rs_$b = [];
for (var j_$c = 0, m_$d = rc_$5.length;j_$c < m_$d;j_$c++) {
var r_$e = rc_$5[j_$c];
var rp_$f = r_$e.properties;
for (var i_$8 = 0, l_$9 = ps_$6.length;i_$8 < l_$9;i_$8++) {
var p_$a = ps_$6[i_$8];
if (p_$a in rp_$f) {
$l.lineno = 620, rs_$b.push(r_$e);
break
}}};
var msg_$g = "";
var vs_$h = [];
for (var j_$c = 0, m_$d = rs_$b.length;j_$c < m_$d;j_$c++) {
var r_$e = rs_$b[j_$c];
var rp_$f = r_$e.properties;
msg_$g += ($l.lineno = 630, ($l.lineno = 630, this.formatToString("/* @%s#%d (specificity %d, order %d) */\n", r_$e[Debug.FUNCTION_FILENAME], r_$e[Debug.FUNCTION_LINENO], r_$e.specificity, r_$e._lexorder)).toHTML());
msg_$g += ($l.lineno = 631, ($l.lineno = 631, this.formatToString("%w {\n", r_$e)).toHTML());
for (var i_$8 = 0, l_$9 = ps_$6.length;i_$8 < l_$9;i_$8++) {
var p_$a = ps_$6[i_$8];
if (p_$a in rp_$f) {
var x_$i = vs_$h[i_$8];
msg_$g += ($l.lineno = 637, this.formatToString("  %s<span style='color:#931391'>%s</span>: ", x_$i ? "<i style='text-decoration: line-through'>" : "", p_$a));
msg_$g += ($l.lineno = 638, ($l.lineno = 638, this.formatToString("%w", rp_$f[p_$a])).toHTML());
msg_$g += ($l.lineno = 639, this.formatToString("%s;\n", x_$i ? "</i>" : ""));
vs_$h[i_$8] = true
}};
msg_$g += ($l.lineno = 643, ($l.lineno = 643, this.formatToString("}\n")).toHTML())
};
$l.lineno = 647, this.freshLine();
$l.lineno = 651, this.console.addHTMLText(msg_$g);
$l.lineno = 652, this.updateOutputState(msg_$g);
return node_$0
}
finally {
if ($k) {
$k.length--
}}};
$lzsc$temp["displayName"] = "explainStyleBindings";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 597;
return $lzsc$temp
})(), "objseq", 0, "id_to_object_table", [], "IDForObject", (function () {
var $lzsc$temp = function (obj_$0, force_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["obj", obj_$0, "force", force_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzDebug.lzs";
$6.lineno = 688;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 1:
force_$1 = false
};
var id_$2;
var ot_$3 = this.id_to_object_table;
for (id_$2 = ot_$3.length - 1;id_$2 >= 0;id_$2--) {
if (ot_$3[id_$2] === obj_$0) {
return id_$2
}};
if (!force_$1) {
if (!($6.lineno = 702, this.isObjectLike(obj_$0))) {
return null
}};
id_$2 = this.objseq++;
this.id_to_object_table[id_$2] = obj_$0;
return id_$2
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "IDForObject";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 688;
return $lzsc$temp
})(), "ObjectForID", (function () {
var $lzsc$temp = function (id_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["id", id_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzDebug.lzs";
$3.lineno = 719;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return this.id_to_object_table[id_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "ObjectForID";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 719;
return $lzsc$temp
})(), "__typeof", (function () {
var $lzsc$temp = function (thing_$0) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["thing", thing_$0];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/debugger/LzDebug.lzs";
$b.lineno = 752;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
try {
var n_$1 = typeof thing_$0;
if ($b.lineno = 757, this.isObjectLike(thing_$0)) {
var oc_$2 = (Object["$lzsc$isa"] ? ($b.lineno = 760, Object.$lzsc$isa(thing_$0)) : thing_$0 instanceof Object) && thing_$0["constructor"];
var user_name_$3 = null;
if ("_dbg_typename" in thing_$0) {
if (Function["$lzsc$isa"] ? ($b.lineno = 767, Function.$lzsc$isa(thing_$0._dbg_typename)) : thing_$0._dbg_typename instanceof Function) {
try {
user_name_$3 = ($b.lineno = 770, thing_$0._dbg_typename())
}
catch (e_$4) {}} else if (typeof thing_$0._dbg_typename == "string") {
user_name_$3 = thing_$0._dbg_typename
}};
if ($b.lineno = 777, this.isStringLike(user_name_$3)) {
n_$1 = user_name_$3
} else if (oc_$2) {
var ocn_$5 = ($b.lineno = 780, this.functionName(oc_$2, true));
if (ocn_$5) {
n_$1 = ocn_$5
} else {
ocn_$5 = ($b.lineno = 784, this.functionName(oc_$2, false));
if (!ocn_$5) {
var ts_$6 = ($b.lineno = 787, thing_$0.toString());
var s_$7 = "[object ".length;
var e_$4 = ($b.lineno = 789, ts_$6.indexOf("]"));
if (($b.lineno = 790, ts_$6.indexOf("[object ")) == 0 && e_$4 == ts_$6.length - 1) {
ocn_$5 = ($b.lineno = 792, ts_$6.substring(s_$7, e_$4))
} else if (($b.lineno = 793, ts_$6.indexOf("[")) == 0 && ($b.lineno = 794, ts_$6.indexOf("]")) == ts_$6.length - 1) {
ocn_$5 = ($b.lineno = 795, ts_$6.substring(1, ts_$6.length - 1))
}};
if (ocn_$5) {
if (oc_$2 !== ($b.lineno = 799, globalValue(ocn_$5))) {
var id_$8 = ($b.lineno = 801, this.IDForObject(oc_$2, true));
ocn_$5 += "#" + id_$8
};
n_$1 = ocn_$5
}};
if (oc_$2 && !(oc_$2["$lzsc$isa"] ? ($b.lineno = 808, oc_$2.$lzsc$isa(thing_$0)) : thing_$0 instanceof oc_$2)) {
if (thing_$0 === oc_$2["prototype"]) {

} else {
n_$1 = "\xBF" + n_$1 + "?"
}} else if (oc_$2["prototype"] && (Function["$lzsc$isa"] ? ($b.lineno = 820, Function.$lzsc$isa(oc_$2.prototype["isPrototypeOf"])) : oc_$2.prototype["isPrototypeOf"] instanceof Function) && !($b.lineno = 821, oc_$2.prototype.isPrototypeOf(thing_$0))) {
if (thing_$0 === oc_$2.prototype) {

} else {
n_$1 = "\xA1" + n_$1 + "!"
}}}};
try {
if ($b.lineno = 836, this.isArrayLike(thing_$0)) {
n_$1 += "(" + thing_$0.length + ")"
}}
catch (e_$4) {}}
catch (e_$4) {
try {
n_$1 = ($b.lineno = 844, this.formatToString("Error: %0.24#s computing __typeof", e_$4))
}
catch (e_$4) {
n_$1 = "Recursive error computing __typeof"
}};
return n_$1
}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "__typeof";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 752;
return $lzsc$temp
})(), "functionName", (function () {
var $lzsc$temp = function (fn_$0, mustBeUnique_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["fn", fn_$0, "mustBeUnique", mustBeUnique_$1];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/debugger/LzDebug.lzs";
$9.lineno = 871;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
switch (arguments.length) {
case 1:
mustBeUnique_$1 = false
};
if (Function["$lzsc$isa"] ? ($9.lineno = 872, Function.$lzsc$isa(fn_$0)) : fn_$0 instanceof Function) {
var dn_$2 = Debug.FUNCTION_NAME;
if ($9.lineno = 875, fn_$0.hasOwnProperty(dn_$2)) {
var n_$3 = fn_$0[dn_$2]
} else {
var fstring_$4 = ($9.lineno = 879, fn_$0["toString"]());
var s_$5 = "function ".length;
var e_$6 = ($9.lineno = 881, fstring_$4.indexOf("("));
if (($9.lineno = 882, fstring_$4.indexOf("function ")) == 0 && e_$6 > s_$5) {
while (($9.lineno = 883, fstring_$4.charAt(s_$5)) == " ") {
s_$5++
};
while (($9.lineno = 884, fstring_$4.charAt(e_$6 - 1)) == " ") {
e_$6--
};
n_$3 = ($9.lineno = 885, fstring_$4.substring(s_$5, e_$6))
}};
if (n_$3) {
if (!mustBeUnique_$1 || fn_$0 === ($9.lineno = 889, globalValue(n_$3))) {
return n_$3
}}};
return null
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "functionName";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 871;
return $lzsc$temp
})(), "__StringDescription", (function () {
var $lzsc$temp = function (thing, escape_$0, limit_$1, readable_$2, depth_$3) {
var $l = Debug;
var $m = $l.backtraceStack;
try {
if ($m) {
var $n = ["thing", thing, "escape", escape_$0, "limit", limit_$1, "readable", readable_$2, "depth", depth_$3];
$n.callee = arguments.callee;
$n["this"] = this;
$n.filename = "lfc/debugger/LzDebug.lzs";
$n.lineno = 911;
$m.push($n);
if ($m.length > $m.maxDepth) {
$l.stackOverflow()
}};
try {
if (thing === void 0) {
return {readable: true, description: "(void 0)"}};
if (thing === null) {
return {readable: true, description: "null"}};
var t_$4 = typeof thing;
var isreadable_$5 = false;
var debug_name_$6 = null;
var s_$7 = "";
if ($n.lineno = 928, this.isObjectLike(thing)) {
var opl_$8 = this.printLength;
try {
this.printLength = limit_$1 < this.inspectPrintLength ? limit_$1 : this.inspectPrintLength;
if ((Function["$lzsc$isa"] ? ($n.lineno = 936, Function.$lzsc$isa(thing["hasOwnProperty"])) : thing["hasOwnProperty"] instanceof Function) && ($n.lineno = 936, thing.hasOwnProperty("_dbg_prototype_for"))) {
debug_name_$6 = ($n.lineno = 937, this.functionName(thing._dbg_prototype_for)) + ".prototype"
} else {
var dn_$9 = ("_dbg_name" in thing) ? thing._dbg_name : null;
if (Function["$lzsc$isa"] ? ($n.lineno = 942, Function.$lzsc$isa(dn_$9)) : dn_$9 instanceof Function) {
try {
debug_name_$6 = ($n.lineno = 946, thing._dbg_name())
}
catch (e_$a) {}} else if ($n.lineno = 949, this.isStringLike(dn_$9)) {
debug_name_$6 = dn_$9
}}}
finally {
this.printLength = opl_$8
}};
if ($n.lineno = 962, this.isStringLike(debug_name_$6)) {
if (($n.lineno = 965, debug_name_$6.charAt(0)) == "#") {
isreadable_$5 = true
};
s_$7 = ($n.lineno = 971, this.stringEscape(debug_name_$6))
} else if (t_$4 == "null" || t_$4 == "number" || t_$4 == "boolean") {
isreadable_$5 = true;
s_$7 = ($n.lineno = 976, String(thing))
} else if ($n.lineno = 977, this.isStringLike(thing)) {
s_$7 = ($n.lineno = 979, this.abbreviate(thing, limit_$1));
isreadable_$5 = escape_$0 && t_$4 == "string" && s_$7 === thing;
if (escape_$0) {
s_$7 = ($n.lineno = 986, this.stringEscape(s_$7, true))
}} else if (t_$4 == "function" || (Function["$lzsc$isa"] ? ($n.lineno = 988, Function.$lzsc$isa(thing)) : thing instanceof Function)) {
var n_$b = ($n.lineno = 989, this.functionName(thing, true));
if (n_$b != null) {
isreadable_$5 = true;
s_$7 = n_$b
} else {
s_$7 = ($n.lineno = 996, this.functionName(thing, false));
if (s_$7 == null) {
s_$7 = ""
}}} else if ($n.lineno = 1000, this.isObjectLike(thing)) {
if (thing["constructor"] && (thing.constructor === Date || thing.constructor === Boolean || thing.constructor === Number)) {
s_$7 = ($n.lineno = 1009, thing.toString());
if (s_$7 == null) {
s_$7 = ""
}} else if (String["$lzsc$isa"] ? ($n.lineno = 1012, String.$lzsc$isa(thing)) : thing instanceof String) {

} else if ((Function["$lzsc$isa"] ? ($n.lineno = 1017, Function.$lzsc$isa(thing["toString"])) : thing["toString"] instanceof Function) && thing.toString !== {}.toString && thing.toString !== [].toString && (s_$7 = ($n.lineno = 1020, (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzDebug.lzs";
$4.lineno = 1020;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
try {
var u_$0 = ($4.lineno = 1022, thing.toString());
if (typeof u_$0 != "undefined" && u_$0 != "undefined") {
return u_$0
}}
catch (e_$1) {
return ""
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzDebug.lzs#1020/24";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1020;
return $lzsc$temp
})()()))) {

} else {
var names_$c = [];
var indices_$d = ($n.lineno = 1032, this.isArrayLike(thing)) ? [] : null;
$n.lineno = 1033, this.objectOwnProperties(thing, names_$c, indices_$d, limit_$1);
if (indices_$d) {
$n.lineno = 1034, indices_$d.sort(this.numericOrdering)
};
if (indices_$d) {
var next_$e = 0;
for (var i_$f = 0;i_$f < indices_$d.length && s_$7.length < limit_$1;i_$f++) {
var key_$g = indices_$d[i_$f];
if (key_$g != next_$e) {
s_$7 += "\u2026, "
};
s_$7 += ($n.lineno = 1052, this.__String(thing[key_$g], true, limit_$1 - 5, false, depth_$3 - 1)) + ", ";
next_$e = key_$g + 1
};
if (s_$7 != "" && i_$f == indices_$d.length) {
s_$7 = ($n.lineno = 1055, s_$7.substring(0, s_$7.length - 2))
};
s_$7 = "[" + s_$7 + "]"
} else {
var ellip_$h = true;
$n.lineno = 1061, names_$c.sort(this.caseInsensitiveOrdering);
for (var i_$f = 0;i_$f < names_$c.length && s_$7.length < limit_$1;i_$f++) {
var e_$a = names_$c[i_$f];
var v_$i = thing[e_$a];
var tv_$j = typeof v_$i;
var dtv_$k = ($n.lineno = 1066, this.__typeof(v_$i));
if (tv_$j != "undefined" && tv_$j != "function" && "" + v_$i != "" && !($n.lineno = 1072, this.internalProperty(e_$a)) && !($n.lineno = 1073, this.internalProperty(dtv_$k))) {
ellip_$h = true;
s_$7 += "" + e_$a + ": " + ($n.lineno = 1076, this.__String(v_$i, true, limit_$1 - 5, false, depth_$3 - 1)) + ", "
} else {
if (ellip_$h) {
s_$7 += "\u2026, ";
ellip_$h = false
}}};
if (s_$7 != "" && i_$f == names_$c.length) {
s_$7 = ($n.lineno = 1084, s_$7.substring(0, s_$7.length - 2))
};
s_$7 = "{" + s_$7 + "}"
}}} else {
s_$7 = ($n.lineno = 1090, String(thing))
}}
catch (e_$a) {
try {
s_$7 = ($n.lineno = 1096, this.formatToString("Error: %0.24#s computing __String", e_$a))
}
catch (e_$a) {
s_$7 = "Recursive error computing __String"
}};
return {readable: isreadable_$5, description: s_$7}}
finally {
if ($m) {
$m.length--
}}};
$lzsc$temp["displayName"] = "__StringDescription";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 911;
return $lzsc$temp
})(), "__String", (function () {
var $lzsc$temp = function (thing_$0, escape_$1, limit_$2, readable_$3, depth_$4) {
var $g = Debug;
var $h = $g.backtraceStack;
try {
if ($h) {
var $i = ["thing", thing_$0, "escape", escape_$1, "limit", limit_$2, "readable", readable_$3, "depth", depth_$4];
$i.callee = arguments.callee;
$i["this"] = this;
$i.filename = "lfc/debugger/LzDebug.lzs";
$i.lineno = 1138;
$h.push($i);
if ($h.length > $h.maxDepth) {
$g.stackOverflow()
}};
switch (arguments.length) {
case 1:
escape_$1 = true;;case 2:
limit_$2 = void 0;;case 3:
readable_$3 = void 0;;case 4:
depth_$4 = void 0
};
var origPrintLength_$5 = this.printLength;
var origPrintDepth_$6 = this.printDepth;
var origPrintDetectCircular_$7 = this.printDetectCircular;
if (limit_$2 === void 0) {
limit_$2 = origPrintLength_$5
};
if (readable_$3 === void 0) {
readable_$3 = !escape_$1
};
if (depth_$4 === void 0) {
depth_$4 = origPrintDepth_$6
};
var circular_$8 = origPrintDetectCircular_$7;
if (depth_$4 < 0) {
return "\u2026"
};
var s_$9 = "";
var isreadable_$a = false;
var id_$b = ($i.lineno = 1154, this.IDForObject(thing_$0));
if (limit_$2 > 0) {
try {
if (id_$b !== null && circular_$8 != null && circular_$8[id_$b]) {
var cache_$c = circular_$8[id_$b];
if (cache_$c && cache_$c !== true) {
s_$9 = cache_$c;
isreadable_$a = true
} else {
readable_$3 = true
}} else {
if (id_$b !== null) {
if (!(Array["$lzsc$isa"] ? ($i.lineno = 1176, Array.$lzsc$isa(circular_$8)) : circular_$8 instanceof Array)) {
circular_$8 = []
};
circular_$8[id_$b] = true
};
this.printLength = limit_$2;
this.printDepth = depth_$4;
this.printDetectCircular = circular_$8;
var d_$d = ($i.lineno = 1184, this.__StringDescription(thing_$0, escape_$1, limit_$2, readable_$3, depth_$4));
s_$9 = d_$d.description;
isreadable_$a = d_$d.readable;
if (s_$9 && isreadable_$a && id_$b !== null) {
circular_$8[id_$b] = s_$9
}}}
finally {
this.printLength = origPrintLength_$5;
this.printDepth = origPrintDepth_$6;
this.printDetectCircular = origPrintDetectCircular_$7
}};
if ((isreadable_$a || !readable_$3) && s_$9 != "" && s_$9.length < limit_$2) {
return s_$9
};
var r_$e = "\xAB";
r_$e += ($i.lineno = 1207, this.__typeof(thing_$0));
var room_$f = limit_$2 - r_$e.length - 4;
if (readable_$3 && (!isreadable_$a || s_$9.length >= room_$f) && id_$b === null) {
id_$b = ($i.lineno = 1212, this.IDForObject(thing_$0, true))
};
if (readable_$3 && id_$b !== null) {
r_$e += "#" + id_$b
};
if (s_$9 != "") {
if (room_$f > 0) {
r_$e += "| ";
r_$e += ($i.lineno = 1219, this.abbreviate(s_$9, room_$f))
}};
r_$e += "\xBB";
return r_$e
}
finally {
if ($h) {
$h.length--
}}};
$lzsc$temp["displayName"] = "__String";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1138;
return $lzsc$temp
})(), "inspectContext", null, "inspectInternal", (function () {
var $lzsc$temp = function (obj_$0, showInternalProperties_$1) {
var $p = Debug;
var $q = $p.backtraceStack;
try {
if ($q) {
var $r = ["obj", obj_$0, "showInternalProperties", showInternalProperties_$1];
$r.callee = arguments.callee;
$r["this"] = this;
$r.filename = "lfc/debugger/LzDebug.lzs";
$r.lineno = 1246;
$q.push($r);
if ($q.length > $q.maxDepth) {
$p.stackOverflow()
}};
switch (arguments.length) {
case 1:
showInternalProperties_$1 = void 0
};
var si_$2 = showInternalProperties_$1 === void 0 ? Debug.showInternalProperties : false;
var octx_$3 = this.inspectContext;
var opdc_$4 = this.printDetectCircular;
try {
var isobj_$5 = ($r.lineno = 1254, this.isObjectLike(obj_$0));
if (!isobj_$5) {
var esc_$6 = false;
var pl_$7 = Infinity;
var pr_$8 = false
} else {
var esc_$6 = true;
var pl_$7 = this.inspectPrintLength;
var pr_$8 = true
};
this.inspectContext = obj_$0;
var id_$9 = ($r.lineno = 1268, this.IDForObject(obj_$0));
if (isobj_$5 && id_$9 !== null) {
var pdc_$a = this.printDetectCircular = [];
var d_$b = ($r.lineno = 1272, this.__StringDescription(obj_$0, true, pl_$7, true, 0));
pdc_$a[id_$9] = d_$b.readable ? d_$b.description : true
};
var name_$c = ($r.lineno = 1277, LzMessage.xmlEscape(($r.lineno = 1277, this.__String(obj_$0, esc_$6, pl_$7, pr_$8, 0))));
if (!isobj_$5) {
return name_$c
};
var names_$d = [];
var indices_$e = ($r.lineno = 1284, this.isArrayLike(obj_$0)) && !($r.lineno = 1284, this.isStringLike(obj_$0)) ? [] : null;
$r.lineno = 1285, this.objectOwnProperties(obj_$0, names_$d, indices_$e, Infinity, si_$2);
$r.lineno = 1286, names_$d.sort(this.caseInsensitiveOrdering);
if (indices_$e) {
$r.lineno = 1287, indices_$e.sort(this.numericOrdering)
};
var description_$f = "";
var nnames_$g = names_$d.length;
var val_$h;
var wid_$i = 0;
if (("markGeneration" in this) && this.markGeneration > 0) {
for (var i_$j = 0;i_$j < nnames_$g;i_$j++) {
var keywidth_$k = names_$d[i_$j].length;
if (keywidth_$k > wid_$i) {
wid_$i = keywidth_$k
}}};
if (indices_$e) {
var keywidth_$k = ("" + obj_$0.length).length;
if (keywidth_$k > wid_$i) {
wid_$i = keywidth_$k
}};
var last_$l;
for (var i_$j = 0;i_$j < nnames_$g;i_$j++) {
var key_$m = names_$d[i_$j];
if (key_$m != last_$l) {
last_$l = key_$m;
val_$h = obj_$0[key_$m];
if (si_$2 || !($r.lineno = 1312, this.internalProperty(($r.lineno = 1312, String(key_$m)))) && !($r.lineno = 1315, this.internalProperty(($r.lineno = 1315, this.__typeof(val_$h))))) {
description_$f += "  " + ($r.lineno = 1316, this.computeSlotDescription(obj_$0, key_$m, val_$h, wid_$i)) + "\n"
}}};
if (indices_$e) {
for (var i_$j = 0;i_$j < indices_$e.length;i_$j++) {
var key_$m = indices_$e[i_$j];
val_$h = obj_$0[key_$m];
description_$f += "  " + ($r.lineno = 1326, this.computeSlotDescription(obj_$0, key_$m, val_$h, wid_$i)) + "\n"
}};
if (("markGeneration" in this) && this.markGeneration > 0) {
var leaked_$n = this.annotation.leaked;
if (($r.lineno = 1332, this.isObjectLike(obj_$0)) && (Function["$lzsc$isa"] ? ($r.lineno = 1333, Function.$lzsc$isa(obj_$0["hasOwnProperty"])) : obj_$0["hasOwnProperty"] instanceof Function) && ($r.lineno = 1334, obj_$0.hasOwnProperty(leaked_$n)) && obj_$0[leaked_$n]) {
name_$c += " (\xA3" + obj_$0[leaked_$n] + ")"
}}}
catch (e_$o) {
try {
description_$f = ($r.lineno = 1344, ($r.lineno = 1344, this.formatToString("Error: %0.24#s computing inspectInternal", e_$o)).toHTML())
}
catch (e_$o) {
description_$f = "Recursive error computing inspectInternal"
}}
finally {
this.printDetectCircular = opdc_$4;
this.inspectContext = octx_$3
};
if (description_$f != "") {
description_$f = " {\n" + description_$f + "}"
};
return name_$c + description_$f
}
finally {
if ($q) {
$q.length--
}}};
$lzsc$temp["displayName"] = "inspectInternal";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1246;
return $lzsc$temp
})(), "computeSlotDescription", (function () {
var $lzsc$temp = function (obj_$0, key_$1, val_$2, wid_$3) {
var $c = Debug;
var $d = $c.backtraceStack;
try {
if ($d) {
var $e = ["obj", obj_$0, "key", key_$1, "val", val_$2, "wid", wid_$3];
$e.callee = arguments.callee;
$e["this"] = this;
$e.filename = "lfc/debugger/LzDebug.lzs";
$e.lineno = 1361;
$d.push($e);
if ($d.length > $d.maxDepth) {
$c.stackOverflow()
}};
var r_$4 = key_$1 + ":";
wid_$3++;
try {
if (("markGeneration" in this) && this.markGeneration > 0) {
var annotation_$5 = this.annotation;
var leaked_$6 = annotation_$5.leaked;
var why_$7 = annotation_$5.why;
var wf_$8 = "        ";
wid_$3 += wf_$8.length;
if ((Object["$lzsc$isa"] ? ($e.lineno = 1372, Object.$lzsc$isa(val_$2)) : val_$2 instanceof Object) && (Function["$lzsc$isa"] ? ($e.lineno = 1373, Function.$lzsc$isa(val_$2["hasOwnProperty"])) : val_$2["hasOwnProperty"] instanceof Function) && ($e.lineno = 1374, val_$2.hasOwnProperty(leaked_$6)) && val_$2[leaked_$6] && (!($e.lineno = 1377, obj_$0.hasOwnProperty(leaked_$6)) || ($e.lineno = 1377, val_$2[why_$7].indexOf(obj_$0[why_$7])) == 0)) {
r_$4 += ($e.lineno = 1378, this.pad(" (\xA3" + val_$2[leaked_$6] + ")", wf_$8.length))
} else {
r_$4 += wf_$8
}};
var ostr_$9 = ($e.lineno = 1386, LzMessage.xmlEscape(($e.lineno = 1386, this.__String(val_$2, true, this.inspectPrintLength, false, this.inspectPrintDepth))));
var id_$a = ($e.lineno = 1388, this.IDForObject(val_$2));
r_$4 = ($e.lineno = 1389, this.pad(r_$4, wid_$3));
r_$4 += " " + ($e.lineno = 1390, this.console.makeObjectLink(ostr_$9, id_$a))
}
catch (e_$b) {
try {
r_$4 += ($e.lineno = 1396, ($e.lineno = 1396, this.formatToString(" Error: %0.24#s computing slot description", e_$b)).toHTML())
}
catch (e_$b) {
r_$4 += " Error computing description"
}};
return r_$4
}
finally {
if ($d) {
$d.length--
}}};
$lzsc$temp["displayName"] = "computeSlotDescription";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1361;
return $lzsc$temp
})(), "isObjectLike", (function () {
var $lzsc$temp = function (obj_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["obj", obj_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzDebug.lzs";
$3.lineno = 1415;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return obj_$0 && ((Object["$lzsc$isa"] ? ($3.lineno = 1418, Object.$lzsc$isa(obj_$0)) : obj_$0 instanceof Object) || typeof obj_$0 == "object")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "isObjectLike";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1415;
return $lzsc$temp
})(), "isArrayLike", (function () {
var $lzsc$temp = function (obj_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["obj", obj_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzDebug.lzs";
$4.lineno = 1430;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (obj_$0 && ((Array["$lzsc$isa"] ? ($4.lineno = 1431, Array.$lzsc$isa(obj_$0)) : obj_$0 instanceof Array) || obj_$0["length"] != void 0)) {
var ol_$1 = obj_$0.length;
return (typeof ol_$1 == "number" || (Number["$lzsc$isa"] ? ($4.lineno = 1433, Number.$lzsc$isa(ol_$1)) : ol_$1 instanceof Number)) && (ol_$1 | 0) === ol_$1 && ol_$1 >= 0
};
return false
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "isArrayLike";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1430;
return $lzsc$temp
})(), "isStringLike", (function () {
var $lzsc$temp = function (obj_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["obj", obj_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzDebug.lzs";
$3.lineno = 1446;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return typeof obj_$0 == "string" || (String["$lzsc$isa"] ? ($3.lineno = 1448, String.$lzsc$isa(obj_$0)) : obj_$0 instanceof String) || (LzMessage["$lzsc$isa"] ? ($3.lineno = 1449, LzMessage.$lzsc$isa(obj_$0)) : obj_$0 instanceof LzMessage)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "isStringLike";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1446;
return $lzsc$temp
})(), "caseInsensitiveOrdering", (function () {
var $lzsc$temp = function (a_$0, b_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["a", a_$0, "b", b_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzDebug.lzs";
$6.lineno = 1453;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var al_$2 = ($6.lineno = 1454, a_$0.toLowerCase());
var bl_$3 = ($6.lineno = 1455, b_$1.toLowerCase());
return (al_$2 > bl_$3) - (al_$2 < bl_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "caseInsensitiveOrdering";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1453;
return $lzsc$temp
})(), "numericOrdering", (function () {
var $lzsc$temp = function (a_$0, b_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["a", a_$0, "b", b_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzDebug.lzs";
$6.lineno = 1464;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var al_$2 = ($6.lineno = 1465, Number(a_$0));
var bl_$3 = ($6.lineno = 1466, Number(b_$1));
return ($6.lineno = 1467, Number(al_$2 > bl_$3)) - ($6.lineno = 1467, Number(al_$2 < bl_$3))
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "numericOrdering";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1464;
return $lzsc$temp
})(), "internalProperty", (function () {
var $lzsc$temp = function (str_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["str", str_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/LzDebug.lzs";
$5.lineno = 1475;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var ipp_$1 = LzDebugService.internalPropertyPrefixes;
for (var key_$2 = ipp_$1.length - 1;key_$2 >= 0;key_$2--) {
if (($5.lineno = 1479, str_$0.indexOf(ipp_$1[key_$2])) == 0) {
return true
}};
return false
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "internalProperty";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1475;
return $lzsc$temp
})(), "abbreviate", (function () {
var $lzsc$temp = function (s_$0, l_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["s", s_$0, "l", l_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzDebug.lzs";
$4.lineno = 1495;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
l_$1 = NaN
};
if ($4.lineno = 1497, isNaN(l_$1)) {
l_$1 = Debug.printLength
};
return (arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["abbreviate"] || ($4.lineno = 1498, this.nextMethod(arguments.callee, "abbreviate"))).call(this, s_$0, l_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "abbreviate";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1495;
return $lzsc$temp
})(), "versionInfo", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzDebug.lzs";
$2.lineno = 1508;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 1509, this.write(($2.lineno = 1509, LzCanvas.versionInfoString()))
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "versionInfo";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1508;
return $lzsc$temp
})(), "lastError", null, "bugReport", (function () {
var $lzsc$temp = function (error_$0, verbose) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
var inspect;
if ($7) {
var $8 = ["error", error_$0, "verbose", verbose];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/debugger/LzDebug.lzs";
$8.lineno = 1541;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
inspect = (function () {
var $lzsc$temp = function (obj_$0, verbose_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["obj", obj_$0, "verbose", verbose_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/LzDebug.lzs";
$5.lineno = 1568;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var id_$2 = verbose_$1 && ($5.lineno = 1569, Debug.IDForObject(obj_$0));
if (id_$2 && !(id_$2 in inspected)) {
inspected[id_$2] = obj_$0
};
return obj_$0
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "inspect";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1568;
return $lzsc$temp
})();
switch (arguments.length) {
case 0:
error_$0 = null;;case 1:
verbose = null
};
if (error_$0 == null) {
try {
with (this.environment) {
if (LzSourceMessage["$lzsc$isa"] ? ($8.lineno = 1545, LzSourceMessage.$lzsc$isa(_)) : _ instanceof LzSourceMessage) {
error_$0 = _
} else {
error_$0 = this.lastError
}}}
catch (e_$1) {}};
if (typeof error_$0 == "number") {
error_$0 = ($8.lineno = 1554, this.ObjectForID(error_$0))
};
if (!(LzSourceMessage["$lzsc$isa"] ? ($8.lineno = 1556, LzSourceMessage.$lzsc$isa(error_$0)) : error_$0 instanceof LzSourceMessage)) {
$8.lineno = 1557, this.error("You must provide a debugger message to report.  Please inspect a debugger message and try again.");
return
};
if (!(LzBacktrace["$lzsc$isa"] ? ($8.lineno = 1561, LzBacktrace.$lzsc$isa(error_$0.backtrace)) : error_$0.backtrace instanceof LzBacktrace)) {
$8.lineno = 1562, this.error("Backtraces must be on to report a bug.  Please enable backtracing and try again.");
return
};
if (verbose == null) {
verbose = this.showInternalProperties
};
var inspected = {};
$8.lineno = 1576, this.format("Please copy the following information into your bug report:\n\n---START OF BUG REPORT---\n\nLPS VERSION INFORMATION:\n");
$8.lineno = 1577, this.versionInfo();
$8.lineno = 1578, this.format("\nERROR MESSAGE: %s", error_$0);
$8.lineno = 1579, this.format("\nERROR BACKTRACE:");
var that = this;
$8.lineno = 1581, error_$0.backtrace.map((function () {
var $lzsc$temp = function (frame_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["frame", frame_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/LzDebug.lzs";
$5.lineno = 1582;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
$5.lineno = 1583, that.format("\n%w", frame_$0);
if (frame_$0.context) {
$5.lineno = 1585, that.format("\n  this: %#w", ($5.lineno = 1585, inspect(frame_$0.context, true)))
};
var args_$1 = frame_$0.arguments;
for (var i_$2 = 0;i_$2 < args_$1.length;i_$2 += 2) {
$5.lineno = 1589, that.format("\n  %s: %#w", args_$1[i_$2], ($5.lineno = 1589, inspect(args_$1[i_$2 + 1], verbose)))
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzDebug.lzs#1582/7";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1582;
return $lzsc$temp
})());
var keys_$2 = [];
for (var id_$3 in inspected) {
$8.lineno = 1595, keys_$2.push(id_$3)
};
if (keys_$2.length > 0) {
$8.lineno = 1598, this.format("\n\nOBJECT DETAILS:");
$8.lineno = 1600, keys_$2.sort((function () {
var $lzsc$temp = function (a_$0, b_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["a", a_$0, "b", b_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzDebug.lzs";
$6.lineno = 1600;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var al_$2 = ($6.lineno = 1601, parseInt(a_$0));
var bl_$3 = ($6.lineno = 1602, parseInt(b_$1));
return (al_$2 > bl_$3 ? 1 : 0) - (al_$2 < bl_$3 ? 1 : 0)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzDebug.lzs#1600/17";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1600;
return $lzsc$temp
})());
for (var i_$4 = 0;i_$4 < keys_$2.length;i_$4++) {
var obj_$5 = inspected[keys_$2[i_$4]];
$8.lineno = 1607, this.format("\n");
$8.lineno = 1609, this.inspect(obj_$5);
$8.lineno = 1610, this.format("\n")
}};
$8.lineno = 1613, this.format("\n---END OF BUG REPORT---\n")
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "bugReport";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1541;
return $lzsc$temp
})(), "objectOwnProperties", (function () {
var $lzsc$temp = function (obj_$0, names_$1, indices_$2, limit_$3, nonEnumerable_$4) {
var $b = Debug;
var $c = $b.backtraceStack;
try {
if ($c) {
var $d = ["obj", obj_$0, "names", names_$1, "indices", indices_$2, "limit", limit_$3, "nonEnumerable", nonEnumerable_$4];
$d.callee = arguments.callee;
$d["this"] = this;
$d.filename = "lfc/debugger/LzDebug.lzs";
$d.lineno = 1637;
$c.push($d);
if ($c.length > $c.maxDepth) {
$b.stackOverflow()
}};
switch (arguments.length) {
case 1:
names_$1 = null;;case 2:
indices_$2 = null;;case 3:
limit_$3 = Infinity;;case 4:
nonEnumerable_$4 = false
};
var alen_$5 = false;
if ($d.lineno = 1640, this.isArrayLike(obj_$0)) {
alen_$5 = obj_$0.length
};
var proto_$6 = false;
try {
proto_$6 = obj_$0["constructor"] && typeof obj_$0.constructor["prototype"] == "object" ? obj_$0.constructor.prototype : false
}
catch (e_$7) {};
for (var key_$8 in obj_$0) {
var isown_$9 = false;
if (!proto_$6) {
isown_$9 = true
} else {
try {
isown_$9 = ($d.lineno = 1659, obj_$0.hasOwnProperty(key_$8))
}
catch (e_$7) {};
if (!isown_$9) {
var pk_$a;
try {
pk_$a = proto_$6[key_$8]
}
catch (e_$7) {};
isown_$9 = obj_$0[key_$8] !== pk_$a
}};
if (isown_$9) {
if (alen_$5 != false && (key_$8 | 0) == key_$8 && 0 <= key_$8 && key_$8 < alen_$5) {
if (indices_$2) {
$d.lineno = 1678, indices_$2.push(($d.lineno = 1678, Number(key_$8)));
if (--limit_$3 == 0) {
break
}}} else {
if (names_$1) {
$d.lineno = 1683, names_$1.push(key_$8);
if (--limit_$3 == 0) {
break
}}}}}}
finally {
if ($c) {
$c.length--
}}};
$lzsc$temp["displayName"] = "objectOwnProperties";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1637;
return $lzsc$temp
})(), "stackOverflow", (function () {
var $lzsc$temp = function () {
var bs_$0 = this.backtraceStack;
try {
var old_$1 = bs_$0.maxDepth;
bs_$0.maxDepth *= 1.25;
throw new Error(Debug.error("Stack overflow: %s", Debug.backtrace(bs_$0.length - 50)))
}
finally {
bs_$0.maxDepth = old_$1
}};
$lzsc$temp["displayName"] = "stackOverflow";
return $lzsc$temp
})(), "backtrace", (function () {
var $lzsc$temp = function (skip_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["skip", skip_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzDebug.lzs";
$3.lineno = 1715;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
skip_$0 = 1
};
if (Debug.backtraceStack.length > skip_$0) {
return $3.lineno = 1717, new LzBacktrace(skip_$0)
};
return null
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "backtrace";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 1715;
return $lzsc$temp
})()], ["messageLevels", {ALL: 0, MONITOR: 1, TRACE: 2, DEBUG: 3, INFO: 4, WARNING: 5, ERROR: 6, NONE: 7}, "internalPropertyPrefixes", ["$", "__", "_dbg_", "LzDeclared"]]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzDebug.lzs";
$3.lineno = 107;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzDebug.lzs#107/1";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzDebug.lzs";
$lzsc$temp["_dbg_lineno"] = 107;
return $lzsc$temp
})()(LzDebugService);
var Debug = new LzDebugService(Debug);
var __LzDebug = Debug;
Class.make("LzDHTMLDebugConsole", LzBootstrapDebugConsole, ["DebugWindow", null, "__reNewline", RegExp("&#xa;|&#xA;|&#10;|\\n", "g"), "$lzsc$initialize", (function () {
var $lzsc$temp = function (iframe_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["iframe", iframe_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$3.lineno = 21;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($3.lineno = 22, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.DebugWindow = iframe_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 21;
return $lzsc$temp
})(), "addHTMLText", (function () {
var $lzsc$temp = function (str_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["str", str_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$7.lineno = 29;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var dw_$1 = this.DebugWindow;
var dwd_$2 = dw_$1.document;
var span_$3 = ($7.lineno = 32, dwd_$2.createElement("span"));
var dwdb_$4 = dwd_$2.body;
span_$3.innerHTML = '<span class="OUTPUT">' + ($7.lineno = 35, str_$0.replace(this.__reNewline, "<br />")) + "</span>";
$7.lineno = 37, dwdb_$4.appendChild(span_$3);
$7.lineno = 39, dw_$1.scrollTo(0, dwdb_$4.scrollHeight)
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "addHTMLText";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 29;
return $lzsc$temp
})(), "clear", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$3.lineno = 45;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var dw_$0 = this.DebugWindow;
dw_$0.document.body.innerHTML = ""
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "clear";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 45;
return $lzsc$temp
})(), "echo", (function () {
var $lzsc$temp = function (str_$0, newLine_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["str", str_$0, "newLine", newLine_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$4.lineno = 59;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
newLine_$1 = true
};
$4.lineno = 60, this.addHTMLText('<span class="DEBUG">' + str_$0 + "</span>" + (newLine_$1 ? "\n" : ""))
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "echo";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 59;
return $lzsc$temp
})(), "doEval", (function () {
var $lzsc$temp = function (expr_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["expr", expr_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$5.lineno = 73;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
try {
with (Debug.environment) {
var value_$1 = ($5.lineno = 78, window.eval("(" + expr_$0 + ")"))
};
$5.lineno = 80, Debug.displayResult(value_$1)
}
catch (e_$2) {
if (!(SyntaxError["$lzsc$isa"] ? ($5.lineno = 83, SyntaxError.$lzsc$isa(e_$2)) : e_$2 instanceof SyntaxError)) {
$5.lineno = 84, Debug.error("%s", e_$2);
return
};
try {
with (Debug.environment) {
var value_$1 = ($5.lineno = 91, window.eval(expr_$0))
};
$5.lineno = 93, Debug.displayResult(value_$1)
}
catch (e_$2) {
$5.lineno = 96, Debug.error("%s", e_$2)
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "doEval";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 73;
return $lzsc$temp
})(), "makeObjectLink", (function () {
var $lzsc$temp = function (rep_$0, id_$1, attrs_$2) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["rep", rep_$0, "id", id_$1, "attrs", attrs_$2];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$8.lineno = 105;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
switch (arguments.length) {
case 2:
attrs_$2 = null
};
var type_$3 = attrs_$2 && attrs_$2["type"] ? attrs_$2.type : "INSPECT";
if (id_$1 != null) {
var obj_$4 = ($8.lineno = 108, Debug.ObjectForID(id_$1));
var tip_$5 = ($8.lineno = 109, ($8.lineno = 109, ($8.lineno = 109, Debug.formatToString("Inspect %0.32#w", obj_$4)).toString()).toHTML());
return '<span class="' + type_$3 + '" title="' + tip_$5 + '" onclick="javascript:window.parent.$modules.lz.Debug.displayObj(' + id_$1 + ')">' + rep_$0 + "</span>"
};
return rep_$0
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "makeObjectLink";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 105;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$3.lineno = 12;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debugger/platform/dhtml/LzDebug.js#12/1";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 12;
return $lzsc$temp
})()(LzDHTMLDebugConsole);
Class.make("LzDHTMLDebugService", LzDebugService, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (base_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["base", base_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$5.lineno = 128;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($5.lineno = 129, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, base_$0);
var copy_$1 = {backtraceStack: true, uncaughtBacktraceStack: true, logger: true, console: true};
for (var k_$2 in copy_$1) {
this[k_$2] = base_$0[k_$2]
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 128;
return $lzsc$temp
})(), "createDebugIframe", (function () {
var $lzsc$temp = function () {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = [];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$9.lineno = 142;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var debugurl_$0 = lz.embed.options.serverroot + "lps/includes/laszlo-debugger.html";
var form_$1 = '<form id="dhtml-debugger-input" onsubmit="$modules.lz.Debug.doEval(document.getElementById(\'LaszloDebuggerInput\').value); return false" action="#">';
var iframe_$2 = '<iframe id="LaszloDebugger" name="LaszloDebugger" src="' + debugurl_$0 + '" width="100%" height="200"></iframe>';
var inputdiv_$3 = '<div><input id="LaszloDebuggerInput" style="width:78%;" type="text"/><input type="button" onclick="$modules.lz.Debug.doEval(document.getElementById(\'LaszloDebuggerInput\').value); return false" value="eval"/><input type="button" onclick="$modules.lz.Debug.clear(); return false" value="clear"/><input type="button" onclick="$modules.lz.Debug.bugReport(); return false" value="bug report"/></div></form>';
var debugdiv_$4 = ($9.lineno = 147, document.createElement("div"));
debugdiv_$4.innerHTML = form_$1 + iframe_$2 + inputdiv_$3;
debugdiv_$4.onmouseover = (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$3.lineno = 149;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!e_$0) e_$0 = global.window.event;
e_$0.cancelBubble = true;
$3.lineno = 152, LzKeyboardKernel.setKeyboardControl(false, true);
return false
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debugger/platform/dhtml/LzDebug.js#149/28";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 149;
return $lzsc$temp
})();
var y_$5 = canvas.height - 230;
$9.lineno = 157, lz.embed.__setAttr(debugdiv_$4, "style", "position:absolute;z-index:10000000;top:" + y_$5 + "px;width:100%;");
$9.lineno = 158, canvas.sprite.__LZdiv.appendChild(debugdiv_$4);
var style_$6 = debugdiv_$4.style;
style_$6.position = "absolute";
style_$6.top = y_$5;
style_$6.zIndex = 10000000;
style_$6.width = "100%";
return global.window.frames["LaszloDebugger"]
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "createDebugIframe";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 142;
return $lzsc$temp
})(), "makeDebugWindow", (function () {
var $lzsc$temp = function () {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = [];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$5.lineno = 173;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
for (var n_$0 in __ES3Globals) {
var p_$1 = __ES3Globals[n_$0];
try {
if (!(Function["$lzsc$isa"] ? ($5.lineno = 177, Function.$lzsc$isa(p_$1)) : p_$1 instanceof Function)) {
if (!p_$1._dbg_name) {
p_$1._dbg_name = n_$0
}} else if (!($5.lineno = 181, Debug.functionName(p_$1))) {
p_$1[Debug.FUNCTION_NAME] = n_$0
}}
catch (e_$2) {}};
if (global["lzconsoledebug"] == "true") {
$5.lineno = 193, this.attachDebugConsole(($5.lineno = 193, new LzDHTMLDebugConsole(($5.lineno = 193, this.createDebugIframe()))))
} else {
$5.lineno = 196, new (lz.LzDebugWindow)()
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "makeDebugWindow";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 173;
return $lzsc$temp
})(), "hasFeature", (function () {
var $lzsc$temp = function (feature_$0, level_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["feature", feature_$0, "level", level_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$4.lineno = 209;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return document.implementation && document.implementation.hasFeature && ($4.lineno = 212, document.implementation.hasFeature(feature_$0, level_$1))
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "hasFeature";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 209;
return $lzsc$temp
})(), "__StringDescription", (function () {
var $lzsc$temp = function (thing_$0, escape_$1, limit_$2, readable_$3, depth_$4) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
var nodeToString;
if ($9) {
var $a = ["thing", thing_$0, "escape", escape_$1, "limit", limit_$2, "readable", readable_$3, "depth", depth_$4];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$a.lineno = 220;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
nodeToString = (function () {
var $lzsc$temp = function (node_$0) {
var $e = Debug;
var $f = $e.backtraceStack;
try {
if ($f) {
var $g = ["node", node_$0];
$g.callee = arguments.callee;
$g["this"] = this;
$g.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$g.lineno = 228;
$f.push($g);
if ($f.length > $f.maxDepth) {
$e.stackOverflow()
}};
var tn_$1 = node_$0.nodeName || "";
var path_$2 = ($g.lineno = 230, tn_$1.toLowerCase());
var sprite_$3 = node_$0.owner;
var spritedivpath_$4;
if (sprite_$3 instanceof LzSprite && sprite_$3.owner.sprite === sprite_$3) {
for (var key_$5 in sprite_$3) {
if (sprite_$3[key_$5] === node_$0) {
spritedivpath_$4 = ($g.lineno = 238, Debug.formatToString("%w/@sprite/@%s", sprite_$3.owner, key_$5))
}}};
if (node_$0.nodeType == 1) {
var id_$6 = node_$0.id;
var cn_$7 = node_$0.className;
if (id_$6 && !spritedivpath_$4) {
path_$2 += "#" + ($g.lineno = 248, encodeURIComponent(id_$6))
} else if (cn_$7) {
var more_$8 = ($g.lineno = 250, cn_$7.indexOf(" "));
if (more_$8 == -1) {
more_$8 = cn_$7.length
};
path_$2 += "." + ($g.lineno = 252, cn_$7.substring(0, more_$8))
}};
if (spritedivpath_$4) {
return spritedivpath_$4 + (path_$2.length > 0 ? "/" + path_$2 : "")
};
var parent_$9 = node_$0.parentNode;
if (parent_$9) {
var index_$a, count_$b = 0;
for (var sibling_$c = parent_$9.firstChild;sibling_$c;sibling_$c = sibling_$c.nextSibling) {
if (tn_$1 == sibling_$c.nodeName) {
count_$b++;
if (index_$a) break
};
if (node_$0 === sibling_$c) {
index_$a = count_$b
}};
if (count_$b > 1) {
path_$2 += "[" + index_$a + "]"
};
try {
return ($g.lineno = 272, nodeToString(parent_$9)) + "/" + path_$2
}
catch (e_$d) {
return "\u2026/" + path_$2
}};
return path_$2
}
finally {
if ($f) {
$f.length--
}}};
$lzsc$temp["displayName"] = "nodeToString";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 228;
return $lzsc$temp
})();
try {
if ((!(!global.window.HTMLElement) ? thing_$0 instanceof HTMLElement : typeof thing_$0 == "object" && !thing_$0.constructor) && !($a.lineno = 226, isNaN(($a.lineno = 226, Number(thing_$0["nodeType"]))))) {
var style_$5 = thing_$0.style.cssText;
if (style_$5 != "") {
style_$5 = '[@style="' + style_$5 + '"]'
};
return {readable: false, description: ($a.lineno = 282, nodeToString(thing_$0)) + style_$5}} else if (($a.lineno = 283, this.hasFeature("mouseevents", "2.0")) && (global["MouseEvent"]["$lzsc$isa"] ? ($a.lineno = 283, global["MouseEvent"].$lzsc$isa(thing_$0)) : thing_$0 instanceof global["MouseEvent"])) {
var desc_$6 = thing_$0.type;
if (thing_$0.shiftKey) {
desc_$6 = "shift-" + desc_$6
};
if (thing_$0.ctrlKey) {
desc_$6 = "ctrl-" + desc_$6
};
if (thing_$0.metaKey) {
desc_$6 = "meta-" + desc_$6
};
if (thing_$0.altKey) {
desc_$6 = "alt-" + desc_$6
};
switch (thing_$0.detail) {
case 2:
desc_$6 = "double-" + desc_$6;break;;case 3:
desc_$6 = "triple-" + desc_$6;break
};
switch (thing_$0.button) {
case 1:
desc_$6 += "-middle";break;;case 2:
desc_$6 += "-right";break
};
return {readable: false, description: desc_$6}}}
catch (e_$7) {};
return (arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["__StringDescription"] || ($a.lineno = 308, this.nextMethod(arguments.callee, "__StringDescription"))).call(this, thing_$0, escape_$1, limit_$2, readable_$3, depth_$4)
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "__StringDescription";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 220;
return $lzsc$temp
})(), "functionName", (function () {
var $lzsc$temp = function (fn_$0, mustBeUnique_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["fn", fn_$0, "mustBeUnique", mustBeUnique_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$5.lineno = 317;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (Function["$lzsc$isa"] ? ($5.lineno = 318, Function.$lzsc$isa(fn_$0)) : fn_$0 instanceof Function) {
if ($5.lineno = 320, fn_$0.hasOwnProperty("tagname")) {
var n_$2 = fn_$0.tagname;
if (!mustBeUnique_$1 || fn_$0 === lz[n_$2]) {
return "<" + n_$2 + ">"
} else {
return null
}}};
return (arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["functionName"] || ($5.lineno = 329, this.nextMethod(arguments.callee, "functionName"))).call(this, fn_$0, mustBeUnique_$1)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "functionName";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 317;
return $lzsc$temp
})(), "objectOwnProperties", (function () {
var $lzsc$temp = function (obj_$0, names_$1, indices_$2, limit_$3, nonEnumerable_$4) {
var $d = Debug;
var $e = $d.backtraceStack;
try {
if ($e) {
var $f = ["obj", obj_$0, "names", names_$1, "indices", indices_$2, "limit", limit_$3, "nonEnumerable", nonEnumerable_$4];
$f.callee = arguments.callee;
$f["this"] = this;
$f.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$f.lineno = 338;
$e.push($f);
if ($e.length > $e.maxDepth) {
$d.stackOverflow()
}};
switch (arguments.length) {
case 1:
names_$1 = null;;case 2:
indices_$2 = null;;case 3:
limit_$3 = Infinity;;case 4:
nonEnumerable_$4 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["objectOwnProperties"] || ($f.lineno = 339, this.nextMethod(arguments.callee, "objectOwnProperties"))).call(this, obj_$0, names_$1, indices_$2, limit_$3, nonEnumerable_$4);
var proto_$5 = false;
try {
proto_$5 = obj_$0["constructor"] && typeof obj_$0.constructor["prototype"] == "object" ? obj_$0.constructor.prototype : false
}
catch (e_$6) {};
if (names_$1 && nonEnumerable_$4 && proto_$5) {
var unenumerated_$7 = {callee: true, length: true, constructor: true, prototype: true};
for (var key_$8 in unenumerated_$7) {
var isown_$9 = false;
try {
isown_$9 = ($f.lineno = 355, obj_$0.hasOwnProperty(key_$8))
}
catch (e_$6) {};
if (!isown_$9) {
var pk_$a;
try {
pk_$a = proto_$5[key_$8]
}
catch (e_$6) {};
isown_$9 = obj_$0[key_$8] !== pk_$a
};
if (isown_$9) {
for (var i_$b = 0, l_$c = names_$1.length;i_$b < l_$c;i_$b++) {
if (names_$1[i_$b] == key_$8) {
isown_$9 = false;
break
}}};
if (isown_$9) {
$f.lineno = 372, names_$1.push(key_$8)
}}}}
finally {
if ($e) {
$e.length--
}}};
$lzsc$temp["displayName"] = "objectOwnProperties";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 338;
return $lzsc$temp
})(), "enableInspectMouseHandlers", (function () {
var $lzsc$temp = function (div_$0, enable_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["div", div_$0, "enable", enable_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$4.lineno = 384;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (enable_$1) {
div_$0.prev_onclick = div_$0.onclick;
div_$0.style.prev_border = div_$0.style.border;
div_$0.style.prev_margin = div_$0.style.margin;
div_$0.style.border = "1px solid red";
div_$0.style.margin = "-1px";
div_$0.onclick = (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$3.lineno = 391;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 391, Debug.write("view = ", this.owner.owner)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debugger/platform/dhtml/LzDebug.js#391/21";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 391;
return $lzsc$temp
})()
} else {
div_$0.onclick = div_$0.prev_onclick;
div_$0.style.border = div_$0.style.prev_border;
div_$0.style.margin = div_$0.style.prev_margin;
delete div_$0.prev_onclick;
delete div_$0.prev_margin;
delete div_$0.prev_border
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "enableInspectMouseHandlers";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 384;
return $lzsc$temp
})(), "showDivs", (function () {
var $lzsc$temp = function (enable_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["enable", enable_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$3.lineno = 409;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (enable_$0 == null) enable_$0 = true;
$3.lineno = 411, Debug._showDivs(canvas, enable_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "showDivs";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 409;
return $lzsc$temp
})(), "_showDivs", (function () {
var $lzsc$temp = function (view_$0, enable_$1) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["view", view_$0, "enable", enable_$1];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$8.lineno = 417;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var k_$2 = view_$0.sprite;
if (k_$2 != null) {
var div_$3 = k_$2.__LZdiv;
if (div_$3 != null) {
$8.lineno = 422, this.enableInspectMouseHandlers(div_$3, enable_$1)
}};
for (var i_$4 = 0;i_$4 < view_$0.subviews.length;i_$4++) {
var cv_$5 = view_$0.subviews[i_$4];
$8.lineno = 427, Debug._showDivs(cv_$5, enable_$1)
}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "_showDivs";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 417;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$3.lineno = 122;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debugger/platform/dhtml/LzDebug.js#122/1";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 122;
return $lzsc$temp
})()(LzDHTMLDebugService);
var Debug = new LzDHTMLDebugService(Debug);
var __LzDebug = Debug;
if (lz.embed.browser.isIE) {
Error.prototype.toString = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/platform/dhtml/LzDebug.js";
$2.lineno = 447;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.name + ": " + this.message
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "debugger/platform/dhtml/LzDebug.js#447/30";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebug.js";
$lzsc$temp["_dbg_lineno"] = 447;
return $lzsc$temp
})()
};
Class.make("LzDebuggerWindowConsoleBridge", LzDebugConsole, ["DebugWindow", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (view_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["view", view_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$3.lineno = 15;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($3.lineno = 16, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.DebugWindow = view_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$lzsc$temp["_dbg_lineno"] = 15;
return $lzsc$temp
})(), "__reNewline", RegExp("&#xa;|&#xA;|&#10;|\\n", "g"), "addHTMLText", (function () {
var $lzsc$temp = function (str_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["str", str_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$3.lineno = 26;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 27, this.DebugWindow.addHTMLText(($3.lineno = 27, str_$0.replace(this.__reNewline, "<br />")))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "addHTMLText";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$lzsc$temp["_dbg_lineno"] = 26;
return $lzsc$temp
})(), "clear", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$2.lineno = 33;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 34, this.DebugWindow.clearWindow()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "clear";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$lzsc$temp["_dbg_lineno"] = 33;
return $lzsc$temp
})(), "ensureVisible", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$2.lineno = 40;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 41, this.DebugWindow.ensureVisible()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "ensureVisible";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$lzsc$temp["_dbg_lineno"] = 40;
return $lzsc$temp
})(), "echo", (function () {
var $lzsc$temp = function (str_$0, newLine_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["str", str_$0, "newLine", newLine_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$4.lineno = 47;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
newLine_$1 = true
};
$4.lineno = 50, this.addHTMLText('<span style="color: #00cc00">' + str_$0 + "</span>" + (newLine_$1 ? "\n" : ""))
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "echo";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$lzsc$temp["_dbg_lineno"] = 47;
return $lzsc$temp
})(), "makeObjectLink", (function () {
var $lzsc$temp = function (rep_$0, id_$1, attrs_$2) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["rep", rep_$0, "id", id_$1, "attrs", attrs_$2];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$9.lineno = 56;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
switch (arguments.length) {
case 2:
attrs_$2 = null
};
var color_$3 = attrs_$2 && attrs_$2["color"] ? attrs_$2.color : "#0000ff";
var decoration_$4 = attrs_$2 && attrs_$2["type"] ? "none" : "underline";
if (id_$1 != null) {
var obj_$5 = ($9.lineno = 60, Debug.ObjectForID(id_$1));
var tip_$6 = ($9.lineno = 61, ($9.lineno = 61, ($9.lineno = 61, Debug.formatToString("Inspect %0.32#w", obj_$5)).toString()).toHTML());
return '<span style="cursor: pointer; text-decoration: ' + decoration_$4 + "; color: " + color_$3 + '" title="' + tip_$6 + '" onclick="javascript:$modules.lz.Debug.displayObj(' + id_$1 + ')">' + rep_$0 + "</span>"
};
return rep_$0
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "makeObjectLink";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$lzsc$temp["_dbg_lineno"] = 56;
return $lzsc$temp
})(), "doEval", (function () {
var $lzsc$temp = function (expr_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["expr", expr_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$5.lineno = 73;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
try {
with (Debug.environment) {
var value_$1 = ($5.lineno = 78, window.eval("(" + expr_$0 + ")"))
};
$5.lineno = 80, Debug.displayResult(value_$1)
}
catch (e_$2) {
if (!(SyntaxError["$lzsc$isa"] ? ($5.lineno = 83, SyntaxError.$lzsc$isa(e_$2)) : e_$2 instanceof SyntaxError)) {
$5.lineno = 84, Debug.error("%s", e_$2);
return
};
try {
with (Debug.environment) {
var value_$1 = ($5.lineno = 91, window.eval(expr_$0))
};
$5.lineno = 93, Debug.displayResult(value_$1)
}
catch (e_$2) {
$5.lineno = 96, Debug.error("%s", e_$2)
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "doEval";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$lzsc$temp["_dbg_lineno"] = 73;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$3.lineno = 11;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js#11/1";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzDebuggerWindowConsoleBridge.js";
$lzsc$temp["_dbg_lineno"] = 11;
return $lzsc$temp
})()(LzDebuggerWindowConsoleBridge);
Debug.sourceWarningHistory = {};
var $reportSourceWarning = (function () {
var $lzsc$temp = function (filename_$0, lineNumber_$1, msg_$2, fatal_$3) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["filename", filename_$0, "lineNumber", lineNumber_$1, "msg", msg_$2, "fatal", fatal_$3];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/debugger/LzCompiler.lzs";
$8.lineno = 28;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var warning_$4 = ($8.lineno = 30, new (fatal_$3 ? LzError : LzWarning)(filename_$0, lineNumber_$1, msg_$2));
var warningString_$5 = ($8.lineno = 31, warning_$4.toString());
if (Debug.sourceWarningHistory[warningString_$5]) {
return
};
Debug.sourceWarningHistory[warningString_$5] = true;
$8.lineno = 37, Debug.freshLine();
$8.lineno = 39, Debug.__write(warning_$4)
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzCompiler.lzs#28/28";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzCompiler.lzs";
$lzsc$temp["_dbg_lineno"] = 28;
return $lzsc$temp
})();
Class.make("__LzStackFrame", null, ["__filename", void 0, "__lineno", void 0, "arguments", void 0, "context", void 0, "callee", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (args_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["args", args_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzBacktrace.lzs";
$3.lineno = 31;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (args_$0["this"]) {
this.context = args_$0["this"]
};
this.callee = args_$0.callee;
this.__filename = args_$0.filename;
this.__lineno = args_$0.lineno;
this.arguments = ($3.lineno = 39, args_$0.concat())
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 31;
return $lzsc$temp
})(), "isUserFrame", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzBacktrace.lzs";
$2.lineno = 46;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return ($2.lineno = 47, this.__filename.indexOf("lfc")) != 0
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "isUserFrame";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 46;
return $lzsc$temp
})(), "filename", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzBacktrace.lzs";
$2.lineno = 54;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.__filename
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "filename";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 54;
return $lzsc$temp
})(), "lineno", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzBacktrace.lzs";
$2.lineno = 62;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.__lineno
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "lineno";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 62;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzBacktrace.lzs";
$3.lineno = 69;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var callee_$0 = this.callee;
if (Function["$lzsc$isa"] ? ($3.lineno = 71, Function.$lzsc$isa(callee_$0)) : callee_$0 instanceof Function) {
return $3.lineno = 72, Debug.functionName(callee_$0, false)
};
return "" + callee_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 69;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzBacktrace.lzs";
$3.lineno = 20;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
__LzStackFrame.prototype._dbg_name = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzBacktrace.lzs";
$2.lineno = 81;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 82, Debug.formatToString("%0.64s @%s#%d", this.callee, this.__filename, this.__lineno)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzBacktrace.lzs#81/40";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 81;
return $lzsc$temp
})();
__LzStackFrame.prototype._dbg_typename = "StackFrame"
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzBacktrace.lzs#20/1";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 20;
return $lzsc$temp
})()(__LzStackFrame);
Class.make("LzBacktrace", null, ["length", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (skip_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["skip", skip_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/debugger/LzBacktrace.lzs";
$7.lineno = 108;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
switch (arguments.length) {
case 0:
skip_$0 = 0
};
var bs_$1 = Debug.backtraceStack;
var l_$2 = bs_$1.length - skip_$0;
this.length = l_$2;
for (var i_$3 = 0;i_$3 < l_$2;i_$3++) {
var fr_$4 = bs_$1[i_$3];
if (!($7.lineno = 115, fr_$4.hasOwnProperty("__LzStackFrame")) || fr_$4["lineno"] != ($7.lineno = 117, fr_$4.__LzStackFrame.lineno())) {
fr_$4.__LzStackFrame = ($7.lineno = 118, new __LzStackFrame(fr_$4))
};
this[i_$3] = fr_$4.__LzStackFrame
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 108;
return $lzsc$temp
})(), "userStackFrame", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzBacktrace.lzs";
$4.lineno = 128;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
for (var i_$0 = this.length - 1;i_$0 >= 0;i_$0--) {
var fr_$1 = this[i_$0];
if ($4.lineno = 131, fr_$1.isUserFrame()) {
return fr_$1
}};
return null
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "userStackFrame";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 128;
return $lzsc$temp
})(), "map", (function () {
var $lzsc$temp = function (fn_$0, limit_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["fn", fn_$0, "limit", limit_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/LzBacktrace.lzs";
$5.lineno = 145;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 1:
limit_$1 = NaN
};
if (Function["$lzsc$isa"] ? ($5.lineno = 146, Function.$lzsc$isa(fn_$0)) : fn_$0 instanceof Function) {
if ($5.lineno = 147, isNaN(limit_$1)) {
limit_$1 = this.length
};
for (var i_$2 = this.length - 1;i_$2 >= 0 && limit_$1 > 0;i_$2--, limit_$1--) {
$5.lineno = 149, fn_$0(this[i_$2])
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "map";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 145;
return $lzsc$temp
})(), "toStringInternal", (function () {
var $lzsc$temp = function (length_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["length", length_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzBacktrace.lzs";
$6.lineno = 162;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
length_$0 = NaN
};
if ($6.lineno = 163, isNaN(length_$0)) {
length_$0 = Debug.printLength
};
var backtrace_$1 = "";
var sep_$2 = " <- ";
for (var i_$3 = this.length - 1;i_$3 >= 0 && backtrace_$1.length < length_$0;i_$3--) {
backtrace_$1 += this[i_$3] + sep_$2
};
if (backtrace_$1 != "" && i_$3 < 0) {
backtrace_$1 = ($6.lineno = 172, backtrace_$1.substring(0, backtrace_$1.length - sep_$2.length))
};
backtrace_$1 = ($6.lineno = 174, Debug.abbreviate(backtrace_$1, length_$0));
return backtrace_$1
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "toStringInternal";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 162;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzBacktrace.lzs";
$2.lineno = 181;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 182, this.toStringInternal()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 181;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzBacktrace.lzs";
$3.lineno = 105;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzBacktrace.prototype._dbg_name = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzBacktrace.lzs";
$2.lineno = 190;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 191, this.toStringInternal(Debug.inspectPrintLength)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzBacktrace.lzs#190/37";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 190;
return $lzsc$temp
})();
LzBacktrace.prototype._dbg_typename = "Backtrace"
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzBacktrace.lzs#105/1";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzBacktrace.lzs";
$lzsc$temp["_dbg_lineno"] = 105;
return $lzsc$temp
})()(LzBacktrace);
Class.make("LzTrace", LzSourceMessage, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (file_$0, line_$1, message_$2, node_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["file", file_$0, "line", line_$1, "message", message_$2, "node", node_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzTrace.lzs";
$6.lineno = 24;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
file_$0 = null;;case 1:
line_$1 = 0;;case 2:
message_$2 = "";;case 3:
node_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 25, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, file_$0, line_$1, message_$2, node_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzTrace.lzs";
$lzsc$temp["_dbg_lineno"] = 24;
return $lzsc$temp
})()], ["type", "TRACE", "color", "#00cc00", "format", LzSourceMessage.format]);
Debug.traceMessage = (function () {
var $lzsc$temp = function (control_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["control", control_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzTrace.lzs";
$4.lineno = 44;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var args_$1 = ($4.lineno = 44, Array.prototype.slice.call(arguments, 1));
return $4.lineno = 45, this.warnInternal.apply(this, ($4.lineno = 45, [LzTrace, control_$0].concat(args_$1)))
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzTrace.lzs#44/22";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzTrace.lzs";
$lzsc$temp["_dbg_lineno"] = 44;
return $lzsc$temp
})();
Debug.trace = (function () {
var $lzsc$temp = function (who_$0, methodName_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["who", who_$0, "methodName", methodName_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/LzTrace.lzs";
$5.lineno = 66;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (who_$0[methodName_$1] instanceof Function) {
var f = who_$0[methodName_$1];
var m_$2 = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzTrace.lzs";
$3.lineno = 69;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 70, Debug.traceMessage("[%6.2f] %s.apply(%w, %w)", ($3.lineno = 71, ($3.lineno = 71, new Date()).getTime()) % 1000000, f, this, arguments);
var r_$0 = ($3.lineno = 73, f.apply(this, arguments));
$3.lineno = 74, Debug.traceMessage("[%6.2f] %s -> %w", ($3.lineno = 75, ($3.lineno = 75, new Date()).getTime()) % 1000000, f, r_$0);
return r_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzTrace.lzs#69/13";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzTrace.lzs";
$lzsc$temp["_dbg_lineno"] = 69;
return $lzsc$temp
})();
m_$2._dbg_previous_definition = f;
if (Instance["$lzsc$isa"] ? ($5.lineno = 81, Instance.$lzsc$isa(who_$0)) : who_$0 instanceof Instance) {
$5.lineno = 82, who_$0.addProperty(methodName_$1, m_$2)
} else {
who_$0[methodName_$1] = m_$2
};
return who_$0[methodName_$1] === m_$2
} else {
$5.lineno = 88, Debug.error("%w.%s is not a function", who_$0, methodName_$1)
};
return false
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzTrace.lzs#66/15";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzTrace.lzs";
$lzsc$temp["_dbg_lineno"] = 66;
return $lzsc$temp
})();
Debug.untrace = (function () {
var $lzsc$temp = function (who_$0, methodName_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["who", who_$0, "methodName", methodName_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzTrace.lzs";
$6.lineno = 101;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (who_$0[methodName_$1] instanceof Function) {
var f_$2 = who_$0[methodName_$1];
var p_$3 = f_$2["_dbg_previous_definition"];
if (p_$3) {
if ($6.lineno = 108, who_$0.hasOwnProperty(methodName_$1)) {
delete who_$0[methodName_$1]
};
if (who_$0[methodName_$1] !== p_$3) {
if (Instance["$lzsc$isa"] ? ($6.lineno = 114, Instance.$lzsc$isa(who_$0)) : who_$0 instanceof Instance) {
$6.lineno = 115, who_$0.addProperty(methodName_$1, p_$3)
} else {
who_$0[methodName_$1] = p_$3
}};
return who_$0[methodName_$1] === p_$3
} else {
$6.lineno = 122, Debug.error("%w.%s is not being traced", who_$0, methodName_$1)
}} else {
$6.lineno = 125, Debug.error("%w.%s is not a function", who_$0, methodName_$1)
};
return false
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzTrace.lzs#101/17";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzTrace.lzs";
$lzsc$temp["_dbg_lineno"] = 101;
return $lzsc$temp
})();
Class.make("LzMonitor", LzSourceMessage, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (file_$0, line_$1, message_$2, node_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["file", file_$0, "line", line_$1, "message", message_$2, "node", node_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzMonitor.lzs";
$6.lineno = 24;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
file_$0 = null;;case 1:
line_$1 = 0;;case 2:
message_$2 = "";;case 3:
node_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 25, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, file_$0, line_$1, message_$2, node_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMonitor.lzs";
$lzsc$temp["_dbg_lineno"] = 24;
return $lzsc$temp
})()], ["type", "MONITOR", "color", "#00cc00", "format", LzSourceMessage.format]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMonitor.lzs";
$3.lineno = 19;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMonitor.lzs#19/1";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMonitor.lzs";
$lzsc$temp["_dbg_lineno"] = 19;
return $lzsc$temp
})()(LzMonitor);
Debug.monitorMessage = (function () {
var $lzsc$temp = function (control_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["control", control_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/debugger/LzMonitor.lzs";
$4.lineno = 44;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var args_$1 = ($4.lineno = 44, Array.prototype.slice.call(arguments, 1));
return $4.lineno = 45, this.warnInternal.apply(this, ($4.lineno = 45, [LzMonitor, control_$0].concat(args_$1)))
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMonitor.lzs#44/24";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMonitor.lzs";
$lzsc$temp["_dbg_lineno"] = 44;
return $lzsc$temp
})();
Debug.monitor = (function () {
var $lzsc$temp = function (who, what) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["who", who, "what", what];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/platform/dhtml/LzMonitor.js";
$5.lineno = 21;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var o = who[what];
var s_$0 = (function () {
var $lzsc$temp = function (n_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["n", n_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/platform/dhtml/LzMonitor.js";
$5.lineno = 23;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var c_$1 = arguments.callee.caller;
if (!c_$1 && Debug.backtraceStack instanceof Array) {
var bs_$2 = Debug.backtraceStack;
c_$1 = bs_$2[bs_$2.length - 2].callee
};
$5.lineno = 30, Debug.monitorMessage("[%6.2f] %s: %w.%s: %w -> %w", ($5.lineno = 31, ($5.lineno = 31, new Date()).getTime()) % 1000000, c_$1 || "(unknown)", who, what, o, n_$0);
return o = n_$0
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "debugger/platform/dhtml/LzMonitor.js#23/11";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzMonitor.js";
$lzsc$temp["_dbg_lineno"] = 23;
return $lzsc$temp
})();
var g_$1 = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/platform/dhtml/LzMonitor.js";
$2.lineno = 37;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return o
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "debugger/platform/dhtml/LzMonitor.js#37/11";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzMonitor.js";
$lzsc$temp["_dbg_lineno"] = 37;
return $lzsc$temp
})();
try {
delete who[what];
$5.lineno = 45, who.__defineGetter__(what, g_$1);
$5.lineno = 46, who.__defineSetter__(what, s_$0);
with (who) {
if (($5.lineno = 50, eval(what)) !== o) {
throw $5.lineno = 51, new Error("Debug.monitor: failed to install functional getter/setter")
}}}
catch (e_$2) {
$5.lineno = 56, Debug.error("Debug.monitor: Can't monitor %s.%s", who, what);
delete who[what];
who[what] = o
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "debugger/platform/dhtml/LzMonitor.js#21/17";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzMonitor.js";
$lzsc$temp["_dbg_lineno"] = 21;
return $lzsc$temp
})();
Debug.unmonitor = (function () {
var $lzsc$temp = function (who_$0, what_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["who", who_$0, "what", what_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/platform/dhtml/LzMonitor.js";
$5.lineno = 71;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var o_$2 = who_$0[what_$1];
delete who_$0[what_$1];
who_$0[what_$1] = o_$2
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "debugger/platform/dhtml/LzMonitor.js#71/19";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/platform/dhtml/LzMonitor.js";
$lzsc$temp["_dbg_lineno"] = 71;
return $lzsc$temp
})();
Debug.annotation = {marked: "_dbg_marked", why: "_dbg_why", size: "_dbg_smoots", total: "_dbg_weight", leaked: "_dbg_leaked"};
Debug.allAnnotations = [];
(function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/debugger/LzMemory.lzs";
$3.lineno = 27;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
for (var a_$0 in Debug.annotation) {
$3.lineno = 29, Debug.allAnnotations.push(Debug.annotation[a_$0])
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMemory.lzs#27/2";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 27;
return $lzsc$temp
})()();
Debug.markGeneration = 0;
Debug.noteWhy = false;
Debug.findLeaks = false;
Debug.leaks = [];
Debug.debugTrace = false;
Debug.loops = 0;
Debug.loopCount = 0;
Debug.loopElapsed = 0;
Debug.mark = (function () {
var $lzsc$temp = function (o_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["o", o_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/LzMemory.lzs";
$5.lineno = 55;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (!o_$0 || !(typeof o_$0 == "object" || typeof o_$0 == "movieclip") || !(typeof o_$0["hasOwnProperty"] == "function")) {
if (this.debugTrace) {
$5.lineno = 62, console.log("Not marking %s\n", o_$0)
};
return false
};
try {
var annotation_$1 = this.annotation;
delete o_$0[annotation_$1.leaked];
o_$0[annotation_$1.marked] = this.markGeneration
}
catch (e_$2) {
return false
};
return true
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMemory.lzs#55/14";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 55;
return $lzsc$temp
})();
Debug.isMarked = (function () {
var $lzsc$temp = function (o_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["o", o_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/LzMemory.lzs";
$5.lineno = 88;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (!o_$0 || !(typeof o_$0 == "object" || typeof o_$0 == "movieclip") || !(typeof o_$0["hasOwnProperty"] == "function")) {
if (this.debugTrace) {
$5.lineno = 95, console.log("Not tracing %s\n", o_$0)
};
return true
};
var marked_$1 = this.annotation.marked;
try {
if (!($5.lineno = 105, o_$0.hasOwnProperty(marked_$1))) {
return null
};
return o_$0[marked_$1] == this.markGeneration
}
catch (e_$2) {
if (this.debugTrace) {
$5.lineno = 111, console.log("Not tracing %s\n", o_$0)
};
return true
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMemory.lzs#88/18";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 88;
return $lzsc$temp
})();
Debug.obstack = [];
Debug.traceStep = (function () {
var $lzsc$temp = function (steps_$0, milliseconds_$1) {
var $v = Debug;
var $w = $v.backtraceStack;
try {
if ($w) {
var $x = ["steps", steps_$0, "milliseconds", milliseconds_$1];
$x.callee = arguments.callee;
$x["this"] = this;
$x.filename = "lfc/debugger/LzMemory.lzs";
$x.lineno = 150;
$w.push($x);
if ($w.length > $w.maxDepth) {
$v.stackOverflow()
}};
switch (arguments.length) {
case 0:
steps_$0 = Infinity;;case 1:
milliseconds_$1 = 1300
};
var loopStart_$2 = ($x.lineno = 151, ($x.lineno = 151, new Date()).getTime());
var loopCount_$3 = 0;
var loopElapsed_$4 = 0;
var os_$5 = this.obstack;
var dopath_$6 = this.noteWhy || this.debugTrace;
var annotation_$7 = this.annotation;
var marked_$8 = annotation_$7.marked;
var why_$9 = annotation_$7.why;
var size_$a = annotation_$7.size;
var total_$b = annotation_$7.total;
var leaked_$c = annotation_$7.leaked;
while (loopCount_$3++ < steps_$0 && (loopElapsed_$4 = ($x.lineno = 164, ($x.lineno = 164, new Date()).getTime()) - loopStart_$2) < milliseconds_$1) {
while (os_$5.length > 0 && os_$5[0].length == 0) {
$x.lineno = 168, os_$5.shift();
if (os_$5.length == 0) {
$x.lineno = 173, LzTimeKernel.clearInterval(this.backgroundTask);
this.loops++;
this.loopCount += loopCount_$3;
this.loopElapsed += loopElapsed_$4;
$x.lineno = 177, this.debug("%d loops @ %0.0d iterations, %0.2d milliseconds", this.loops, this.loopCount / this.loops, this.loopElapsed / this.loops);
$x.lineno = 181, this.format(" \u2026 done!\n");
return true
}};
var ose_$d = os_$5[0];
var o_$e = ($x.lineno = 190, ose_$d.pop());
var oo_$f = o_$e;
var name_$g = ($x.lineno = 192, ose_$d.pop());
var wasMarked_$h = ($x.lineno = 193, this.isMarked(o_$e));
var wasLeaked_$i = wasMarked_$h === null;
if (wasMarked_$h) {
continue
};
if (dopath_$6) {
var path_$j = ($x.lineno = 219, ose_$d.path.concat(name_$g));
try {
o_$e[why_$9] = ($x.lineno = 222, path_$j.join("\x01"))
}
catch (e_$k) {}};
if (o_$e !== oo_$f) {
$x.lineno = 229, Debug.debug("Annotating %s[%s] (%#w) caused allocation of %#w", path_$j, name_$g, oo_$f, o_$e)
};
if (this.findLeaks && wasLeaked_$i) {
$x.lineno = 233, this.leaks.push(o_$e)
};
if (!($x.lineno = 237, this.mark(o_$e))) {
continue
};
var obSize_$l = 0;
var queuedSlots_$m = [];
if (dopath_$6) {
queuedSlots_$m.path = path_$j;
var ancestors_$n = ose_$d.ancestors;
queuedSlots_$m.ancestors = ($x.lineno = 271, ancestors_$n.concat());
$x.lineno = 272, queuedSlots_$m.ancestors.push(o_$e)
};
var ownProperties_$o = [];
try {
$x.lineno = 276, this.objectOwnProperties(o_$e, ownProperties_$o, ownProperties_$o, Infinity, true)
}
catch (e_$k) {};
for (var i_$p = ownProperties_$o.length - 1;i_$p >= 0;i_$p--) {
var p_$q = ownProperties_$o[i_$p];
obSize_$l += 2;
try {
var v_$r = o_$e[p_$q];
if (typeof v_$r == "string") {
obSize_$l += ($x.lineno = 291, Math.ceil(v_$r.length / 4))
};
if (!(v_$r && typeof v_$r == "object" && v_$r["hasOwnProperty"] instanceof Function)) {
if (this.debugTrace) {};
v_$r = null
} else if (v_$r !== o_$e[p_$q]) {
if (this.debugTrace) {};
v_$r = null
} else {
v_$r[size_$a] = 0;
if (v_$r !== o_$e[p_$q]) {
if (this.debugTrace) {
$x.lineno = 311, Debug.debug("Mutating %s[%s] (%#w) caused allocation of %#w", o_$e, p_$q, v_$r, o_$e[p_$q])
};
v_$r = null
}}}
catch (err_$s) {
if (this.debugTrace) {
$x.lineno = 318, Debug.debug("Mutating %s[%s] (%#w) caused %#w", o_$e, p_$q, v_$r, err_$s)
};
v_$r = null
};
if (v_$r && !($x.lineno = 325, this.isMarked(v_$r))) {
$x.lineno = 327, queuedSlots_$m.push(p_$q, v_$r)
}};
o_$e[size_$a] = obSize_$l;
if (dopath_$6) {
o_$e[total_$b] = obSize_$l;
if (wasLeaked_$i) {
o_$e[leaked_$c] = obSize_$l
};
var al_$t = ancestors_$n.length;
for (var i_$p = al_$t - 1;i_$p >= 0;i_$p--) {
var ai_$u = ancestors_$n[i_$p];
if (ai_$u) {
ai_$u[total_$b] += obSize_$l;
if (wasLeaked_$i) {
if ($x.lineno = 350, ai_$u.hasOwnProperty(leaked_$c)) {
if (this.debugTrace) {
if (($x.lineno = 352, o_$e[why_$9].indexOf(ai_$u[why_$9])) != 0) {
$x.lineno = 353, console.log("%w(%s) +> %w(%s)\n", o_$e, o_$e[why_$9], ai_$u, ai_$u[why_$9]);
$x.lineno = 354, console.log("%w[%d]\n", ancestors_$n, i_$p)
}};
ai_$u[leaked_$c] += obSize_$l
}}}}};
if (queuedSlots_$m.length) {
$x.lineno = 373, os_$5.push(queuedSlots_$m)
}};
this.loops++;
this.loopCount += loopCount_$3;
this.loopElapsed += loopElapsed_$4;
return false
}
finally {
if ($w) {
$w.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMemory.lzs#150/19";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 150;
return $lzsc$temp
})();
Debug.initTrace = (function () {
var $lzsc$temp = function (findLeaks_$0, noteWhy_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["findLeaks", findLeaks_$0, "noteWhy", noteWhy_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzMemory.lzs";
$6.lineno = 392;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
findLeaks_$0 = false;;case 1:
noteWhy_$1 = false
};
this.markGeneration++;
this.loops = this.loopCount = this.loopElapsed = 0;
this.findLeaks = findLeaks_$0;
if (findLeaks_$0) {
this.leaks = []
} else {
delete this.leaks
};
this.noteWhy = noteWhy_$1;
for (var t_$2 = this;t_$2 && t_$2 !== Object.prototype;) {
$6.lineno = 406, this.mark(t_$2);
t_$2 = ("__proto__" in t_$2) && typeof t_$2.__proto__ == "object" ? t_$2.__proto__ : (("constructor" in t_$2) && typeof t_$2.constructor.prototype == "object" ? t_$2.constructor.prototype : null)
};
if ("frameElement" in global) {
$6.lineno = 415, this.mark(global.frameElement)
};
if ("_" in Debug.environment) {
$6.lineno = 419, this.mark(Debug.environment._)
};
if ("__" in Debug.environment) {
$6.lineno = 422, this.mark(Debug.environment.__)
};
if ("___" in Debug.environment) {
$6.lineno = 425, this.mark(Debug.environment.___)
};
if ("console" in global) {
$6.lineno = 429, this.mark(global.console)
};
var osel_$3 = ["global", global];
osel_$3.path = [];
osel_$3.ancestors = [];
this.obstack[0] = osel_$3;
this.backgroundTask = ($6.lineno = 439, LzTimeKernel.setInterval((function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzMemory.lzs";
$2.lineno = 439;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 439, Debug.traceStep()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMemory.lzs#439/50";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 439;
return $lzsc$temp
})(), 1400))
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMemory.lzs#392/19";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 392;
return $lzsc$temp
})();
Debug.markObjects = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzMemory.lzs";
$2.lineno = 446;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 449, Debug.warn("Memory tracing is for experimental use only in this runtime.");
$2.lineno = 451, Debug.format("Marking objects \u2026 ");
$2.lineno = 453, LzTimeKernel.setTimeout((function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzMemory.lzs";
$2.lineno = 453;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 453, Debug.initTrace()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMemory.lzs#453/27";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 453;
return $lzsc$temp
})(), 10)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMemory.lzs#446/21";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 446;
return $lzsc$temp
})();
Debug.findNewObjects = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzMemory.lzs";
$2.lineno = 460;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.markGeneration > 0) {
$2.lineno = 464, Debug.warn("Memory tracing is for experimental use only in this runtime.");
$2.lineno = 466, Debug.format("Finding new objects \u2026 ");
$2.lineno = 468, LzTimeKernel.setTimeout((function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzMemory.lzs";
$2.lineno = 468;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 468, Debug.initTrace(true, true)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMemory.lzs#468/29";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 468;
return $lzsc$temp
})(), 10)
} else {
$2.lineno = 470, Debug.error("Call %w first", Debug.markObjects)
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMemory.lzs#460/24";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 460;
return $lzsc$temp
})();
Class.make("__LzLeak", null, ["obj", void 0, "path", "", "parent", void 0, "property", "", "leaked", 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (o_$0) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["o", o_$0];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/debugger/LzMemory.lzs";
$b.lineno = 485;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($b.lineno = 486, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
var annotations_$1 = Debug.annotation;
var why_$2 = annotations_$1.why;
var leaked_$3 = annotations_$1.leaked;
this.obj = o_$0;
if (o_$0 && (why_$2 in o_$0) && (leaked_$3 in o_$0)) {
var path_$4 = ($b.lineno = 492, o_$0[why_$2].split("\x01"));
this.property = ($b.lineno = 493, path_$4.pop());
this.path = ($b.lineno = 495, path_$4.join("."));
try {
var p_$5 = ($b.lineno = 497, eval(path_$4[0]));
var pl_$6 = path_$4.length;
for (var i_$7 = 1;i_$7 < pl_$6;i_$7++) {
p_$5 = p_$5[path_$4[i_$7]]
};
this.parent = p_$5
}
catch (e_$8) {};
this.leaked = ($b.lineno = 504, Number(o_$0[leaked_$3]))
}}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 485;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/debugger/LzMemory.lzs";
$2.lineno = 512;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.obj) {
return $2.lineno = 514, Debug.formatToString("%=s.%s: (\xA3%d) %0.48#w", this["parent"], this.path, this.property, this.leaked, this["obj"])
} else {
return "" + this.obj
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 512;
return $lzsc$temp
})()], null);
Class.make("__LzLeaks", null, ["length", 0, "sort", Array.prototype.sort, "$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $c = Debug;
var $d = $c.backtraceStack;
try {
if ($d) {
var $e = [];
$e.callee = arguments.callee;
$e["this"] = this;
$e.filename = "lfc/debugger/LzMemory.lzs";
$e.lineno = 531;
$d.push($e);
if ($d.length > $d.maxDepth) {
$c.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($e.lineno = 532, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
var l_$0 = Debug.leaks;
var ll_$1 = l_$0.length;
var annotations_$2 = Debug.annotation;
var why = annotations_$2.why;
var size_$3 = annotations_$2.size;
var leaked_$4 = "_dbg_check";
$e.lineno = 541, l_$0.sort((function () {
var $lzsc$temp = function (a_$0, b_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["a", a_$0, "b", b_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/debugger/LzMemory.lzs";
$7.lineno = 541;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
try {
var an_$2 = a_$0[why];
var bn_$3 = b_$1[why];
return (an_$2 > bn_$3) - (an_$2 < bn_$3)
}
catch (e_$4) {
return -1
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMemory.lzs#541/12";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 541;
return $lzsc$temp
})());
this.length = 0;
for (var i_$5 = 0;i_$5 < ll_$1;i_$5 = j_$6) {
var j_$6 = i_$5 + 1;
try {
var p_$7 = l_$0[i_$5];
p_$7[leaked_$4] = p_$7[size_$3];
var pn_$8 = p_$7[why];
if (typeof pn_$8 != "undefined") {
while (j_$6 < ll_$1) {
var c_$9 = l_$0[j_$6];
var cn_$a = c_$9[why];
if (typeof cn_$a != "undefined") {
if (($e.lineno = 564, cn_$a.indexOf(pn_$8)) == 0) {
if (c_$9 !== p_$7) {
p_$7[leaked_$4] += c_$9[size_$3]
} else {
if (Debug.debugTrace) {
$e.lineno = 570, console.log("%s is %s\n", pn_$8, cn_$a)
}};
j_$6++;
continue
}};
break
}};
this[this.length++] = ($e.lineno = 580, new __LzLeak(p_$7))
}
catch (e_$b) {
j_$6++
}}}
finally {
if ($d) {
$d.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 531;
return $lzsc$temp
})(), "_dbg_name", (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzMemory.lzs";
$6.lineno = 585;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var leakage_$0 = 0;
var n_$1 = this.length;
for (var i_$2 = n_$1 - 1;i_$2 >= 0;i_$2--) {
var s_$3 = this[i_$2]["leaked"];
if (!($6.lineno = 590, isNaN(s_$3))) {
leakage_$0 += s_$3
}};
return $6.lineno = 594, Debug.formatToString("%d smoots [%d objects @ ~%0.0d smoots each]", leakage_$0, n_$1, leakage_$0 / n_$1)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "_dbg_name";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 585;
return $lzsc$temp
})()], null);
Debug.whyAlive = (function () {
var $lzsc$temp = function (top_$0) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["top", top_$0];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/debugger/LzMemory.lzs";
$9.lineno = 604;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
switch (arguments.length) {
case 0:
top_$0 = 10
};
$9.lineno = 607, Debug.warn("Memory tracing is for experimental use only in this runtime.");
if (this["leaks"]) {
var l_$1 = ($9.lineno = 610, new __LzLeaks());
var ll_$2 = l_$1.length;
$9.lineno = 614, l_$1.sort((function () {
var $lzsc$temp = function (a_$0, b_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["a", a_$0, "b", b_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/debugger/LzMemory.lzs";
$6.lineno = 614;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var al_$2 = a_$0.leaked;
var bl_$3 = b_$1.leaked;
return (al_$2 < bl_$3) - (al_$2 > bl_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMemory.lzs#614/12";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 614;
return $lzsc$temp
})());
$9.lineno = 620, Debug.format("%w:\n", l_$1);
if (top_$0 > ll_$2) {
top_$0 = ll_$2
};
for (var i_$3 = 0;i_$3 < top_$0;i_$3++) {
$9.lineno = 623, Debug.format("%w\n", ($9.lineno = 623, l_$1[i_$3].toString()))
};
if (top_$0 < ll_$2) {
var rest_$4 = 0;
var n_$5 = ll_$2 - i_$3;
for (;i_$3 < ll_$2;i_$3++) {
var lil_$6 = l_$1[i_$3].leaked;
if (!($9.lineno = 630, isNaN(lil_$6))) {
rest_$4 += lil_$6
}};
$9.lineno = 632, Debug.format("%=s [%d more @ ~%0.0d smoots each]", l_$1, "\u2026", n_$5, rest_$4 / n_$5)
};
return l_$1
} else {
$9.lineno = 638, Debug.error("Call %w first", Debug.findNewObjects)
}}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzMemory.lzs#604/18";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzMemory.lzs";
$lzsc$temp["_dbg_lineno"] = 604;
return $lzsc$temp
})();
Class.make("LzDeclaredEventClass", null, ["$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzDefs.lzs";
$2.lineno = 24;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 26, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 24;
return $lzsc$temp
})(), "ready", false, "sendEvent", (function () {
var $lzsc$temp = function (eventValue_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["eventValue", eventValue_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzDefs.lzs";
$3.lineno = 46;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
eventValue_$0 = null
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "sendEvent";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 46;
return $lzsc$temp
})(), "clearDelegates", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzDefs.lzs";
$2.lineno = 59;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "clearDelegates";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 59;
return $lzsc$temp
})(), "removeDelegate", (function () {
var $lzsc$temp = function (d_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["d", d_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzDefs.lzs";
$3.lineno = 64;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
d_$0 = null
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "removeDelegate";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 64;
return $lzsc$temp
})(), "getDelegateCount", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzDefs.lzs";
$2.lineno = 69;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return 0
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getDelegateCount";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 69;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzDefs.lzs";
$2.lineno = 74;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "LzDeclaredEvent"
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 74;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzDefs.lzs";
$3.lineno = 21;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "core/LzDefs.lzs#21/1";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 21;
return $lzsc$temp
})()(LzDeclaredEventClass);
var LzDeclaredEvent = new LzDeclaredEventClass();
Class.make("LzValueExpr", null, null, null);
Class.make("LzInitExpr", LzValueExpr, null, null);
Class.make("LzOnceExpr", LzInitExpr, ["methodName", void 0, "_dbg_name", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (initMethod_$0, description_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["initMethod", initMethod_$0, "description", description_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzDefs.lzs";
$4.lineno = 119;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
description_$1 = null
};
this.methodName = initMethod_$0;
this._dbg_name = description_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 119;
return $lzsc$temp
})()], null);
Class.make("LzConstraintExpr", LzOnceExpr, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (constraintMethod_$0, description_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["constraintMethod", constraintMethod_$0, "description", description_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzDefs.lzs";
$4.lineno = 134;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
description_$1 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($4.lineno = 135, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, constraintMethod_$0, description_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 134;
return $lzsc$temp
})()], null);
Class.make("LzStyleConstraintExpr", LzConstraintExpr, ["attribute", void 0, "property", void 0, "type", void 0, "fallback", void 0, "warn", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (attribute_$0, property_$1, type_$2, fallback_$3, warn_$4) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["attribute", attribute_$0, "property", property_$1, "type", type_$2, "fallback", fallback_$3, "warn", warn_$4];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/core/LzDefs.lzs";
$7.lineno = 150;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
switch (arguments.length) {
case 3:
fallback_$3 = void 0;;case 4:
warn_$4 = true
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($7.lineno = 151, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, null);
this.attribute = attribute_$0;
this.property = property_$1;
this.type = type_$2;
this.fallback = fallback_$3;
this.warn = warn_$4;
this._dbg_name = attribute_$0 + "\"=$style{'" + property_$1 + "'}\""
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 150;
return $lzsc$temp
})()], null);
Class.make("LzAlwaysExpr", LzConstraintExpr, ["dependenciesName", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (constraintMethod_$0, dependenciesMethod_$1, description_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["constraintMethod", constraintMethod_$0, "dependenciesMethod", dependenciesMethod_$1, "description", description_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzDefs.lzs";
$5.lineno = 172;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 2:
description_$2 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($5.lineno = 173, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, constraintMethod_$0, description_$2);
this.dependenciesName = dependenciesMethod_$1
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 172;
return $lzsc$temp
})()], null);
Class.make("LzStyleExpr", LzValueExpr, ["_dbg_name", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzDefs.lzs";
$2.lineno = 189;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 189;
return $lzsc$temp
})()], null);
Class.make("LzStyleAttr", LzStyleExpr, ["sourceAttributeName", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (sourceAttributeName_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sourceAttributeName", sourceAttributeName_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzDefs.lzs";
$3.lineno = 199;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($3.lineno = 200, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.sourceAttributeName = sourceAttributeName_$0;
this._dbg_name = "attr(" + this.sourceAttributeName + ")"
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 199;
return $lzsc$temp
})()], null);
Class.make("LzStyleIdent", LzStyleExpr, ["sourceValueID", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (sourceValueID_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sourceValueID", sourceValueID_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzDefs.lzs";
$3.lineno = 216;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($3.lineno = 217, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.sourceValueID = sourceValueID_$0;
this._dbg_name = sourceValueID_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 216;
return $lzsc$temp
})()], null);
function LzInheritedHash (parent_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["parent", parent_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzDefs.lzs";
$4.lineno = 251;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (parent_$0) {
for (var key_$1 in parent_$0) {
this[key_$1] = parent_$0[key_$1]
}}}
finally {
if ($3) {
$3.length--
}}};
LzInheritedHash["_dbg_filename"] = "lfc/core/LzDefs.lzs";
LzInheritedHash["_dbg_lineno"] = 251;
var lz;
(function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzDefs.lzs";
$2.lineno = 274;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (Object["$lzsc$isa"] ? ($2.lineno = 275, Object.$lzsc$isa(lz)) : lz instanceof Object) {

} else if (!lz) {
lz = ($2.lineno = 280, new LzInheritedHash())
} else {
$2.lineno = 282, Debug.error("Can't create `lz` namespace, already bound to %w", lz)
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "core/LzDefs.lzs#274/3";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzDefs.lzs";
$lzsc$temp["_dbg_lineno"] = 274;
return $lzsc$temp
})()();
lz.DeclaredEventClass = LzDeclaredEventClass;
lz.Formatter = LzFormatter;
lz.colors = {aliceblue: 15792383, antiquewhite: 16444375, aqua: 65535, aquamarine: 8388564, azure: 15794175, beige: 16119260, bisque: 16770244, black: 0, blanchedalmond: 16772045, blue: 255, blueviolet: 9055202, brown: 10824234, burlywood: 14596231, cadetblue: 6266528, chartreuse: 8388352, chocolate: 13789470, coral: 16744272, cornflowerblue: 6591981, cornsilk: 16775388, crimson: 14423100, cyan: 65535, darkblue: 139, darkcyan: 35723, darkgoldenrod: 12092939, darkgray: 11119017, darkgreen: 25600, darkgrey: 11119017, darkkhaki: 12433259, darkmagenta: 9109643, darkolivegreen: 5597999, darkorange: 16747520, darkorchid: 10040012, darkred: 9109504, darksalmon: 15308410, darkseagreen: 9419919, darkslateblue: 4734347, darkslategray: 3100495, darkslategrey: 3100495, darkturquoise: 52945, darkviolet: 9699539, deeppink: 16716947, deepskyblue: 49151, dimgray: 6908265, dimgrey: 6908265, dodgerblue: 2003199, firebrick: 11674146, floralwhite: 16775920, forestgreen: 2263842, fuchsia: 16711935, gainsboro: 14474460, ghostwhite: 16316671, gold: 16766720, goldenrod: 14329120, gray: 8421504, green: 32768, greenyellow: 11403055, grey: 8421504, honeydew: 15794160, hotpink: 16738740, indianred: 13458524, indigo: 4915330, ivory: 16777200, khaki: 15787660, lavender: 15132410, lavenderblush: 16773365, lawngreen: 8190976, lemonchiffon: 16775885, lightblue: 11393254, lightcoral: 15761536, lightcyan: 14745599, lightgoldenrodyellow: 16448210, lightgray: 13882323, lightgreen: 9498256, lightgrey: 13882323, lightpink: 16758465, lightsalmon: 16752762, lightseagreen: 2142890, lightskyblue: 8900346, lightslategray: 7833753, lightslategrey: 7833753, lightsteelblue: 11584734, lightyellow: 16777184, lime: 65280, limegreen: 3329330, linen: 16445670, magenta: 16711935, maroon: 8388608, mediumaquamarine: 6737322, mediumblue: 205, mediumorchid: 12211667, mediumpurple: 9662683, mediumseagreen: 3978097, mediumslateblue: 8087790, mediumspringgreen: 64154, mediumturquoise: 4772300, mediumvioletred: 13047173, midnightblue: 1644912, mintcream: 16121850, mistyrose: 16770273, moccasin: 16770229, navajowhite: 16768685, navy: 128, oldlace: 16643558, olive: 8421376, olivedrab: 7048739, orange: 16753920, orangered: 16729344, orchid: 14315734, palegoldenrod: 15657130, palegreen: 10025880, paleturquoise: 11529966, palevioletred: 14381203, papayawhip: 16773077, peachpuff: 16767673, peru: 13468991, pink: 16761035, plum: 14524637, powderblue: 11591910, purple: 8388736, red: 16711680, rosybrown: 12357519, royalblue: 4286945, saddlebrown: 9127187, salmon: 16416882, sandybrown: 16032864, seagreen: 3050327, seashell: 16774638, sienna: 10506797, silver: 12632256, skyblue: 8900331, slateblue: 6970061, slategray: 7372944, slategrey: 7372944, snow: 16775930, springgreen: 65407, steelblue: 4620980, tan: 13808780, teal: 32896, thistle: 14204888, tomato: 16737095, turquoise: 4251856, violet: 15631086, wheat: 16113331, white: 16777215, whitesmoke: 16119285, yellow: 16776960, yellowgreen: 10145074, transparent: null};
Class.make("LzCache", null, ["size", void 0, "slots", void 0, "destroyable", void 0, "capacity", void 0, "curslot", void 0, "data", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function (size_$0, slots_$1, destroyable_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["size", size_$0, "slots", slots_$1, "destroyable", destroyable_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzCache.lzs";
$5.lineno = 39;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 0:
size_$0 = 16;;case 1:
slots_$1 = 2;;case 2:
destroyable_$2 = true
};
this.size = size_$0;
this.slots = slots_$1;
this.destroyable = destroyable_$2;
$5.lineno = 43, this.clear()
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzCache.lzs";
$lzsc$temp["_dbg_lineno"] = 39;
return $lzsc$temp
})(), "clear", (function () {
var $lzsc$temp = function () {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = [];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/core/LzCache.lzs";
$7.lineno = 51;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
this.curslot = 0;
this.capacity = 0;
var sl_$0 = this.slots;
if (!this.data) this.data = ($7.lineno = 55, new Array(sl_$0));
var d_$1 = this.data;
for (var i_$2 = 0;i_$2 < sl_$0;++i_$2) {
if (this.destroyable) {
var dobj_$3 = d_$1[i_$2];
for (var k_$4 in dobj_$3) {
$7.lineno = 61, dobj_$3[k_$4].destroy()
}};
d_$1[i_$2] = {}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "clear";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzCache.lzs";
$lzsc$temp["_dbg_lineno"] = 51;
return $lzsc$temp
})(), "ensureSlot", (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/core/LzCache.lzs";
$6.lineno = 71;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (++this.capacity > this.size) {
var nexts_$0 = (this.curslot + 1) % this.slots;
var d_$1 = this.data;
if (this.destroyable) {
var dobj_$2 = d_$1[nexts_$0];
for (var k_$3 in dobj_$2) {
$6.lineno = 79, dobj_$2[k_$3].destroy()
}};
d_$1[nexts_$0] = {};
this.curslot = nexts_$0;
this.capacity = 1
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "ensureSlot";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzCache.lzs";
$lzsc$temp["_dbg_lineno"] = 71;
return $lzsc$temp
})(), "put", (function () {
var $lzsc$temp = function (key_$0, val_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["key", key_$0, "val", val_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzCache.lzs";
$5.lineno = 97;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var old_$2 = ($5.lineno = 98, this.get(key_$0));
if (old_$2 === void 0) {
$5.lineno = 101, this.ensureSlot()
};
this.data[this.curslot][key_$0] = val_$1;
return old_$2
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "put";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzCache.lzs";
$lzsc$temp["_dbg_lineno"] = 97;
return $lzsc$temp
})(), "get", (function () {
var $lzsc$temp = function (key_$0) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["key", key_$0];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/core/LzCache.lzs";
$9.lineno = 115;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var sl_$1 = this.slots;
var cs_$2 = this.curslot;
var d_$3 = this.data;
for (var i_$4 = 0;i_$4 < sl_$1;++i_$4) {
var idx_$5 = (cs_$2 + i_$4) % sl_$1;
var val_$6 = d_$3[idx_$5][key_$0];
if (val_$6 !== void 0) {
if (idx_$5 != cs_$2) {
delete d_$3[idx_$5][key_$0];
$9.lineno = 127, this.ensureSlot();
d_$3[this.curslot][key_$0] = val_$6
};
return val_$6
}};
return void 0
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "get";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzCache.lzs";
$lzsc$temp["_dbg_lineno"] = 115;
return $lzsc$temp
})()], null);
Class.make("LzEventable", null, ["$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzEventable.lzs";
$2.lineno = 37;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzEventable.lzs";
$lzsc$temp["_dbg_lineno"] = 37;
return $lzsc$temp
})(), "__LZdeleted", false, "_events", null, "ondestroy", LzDeclaredEvent, "destroy", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzEventable.lzs";
$3.lineno = 73;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.ondestroy.ready) $3.lineno = 77, this.ondestroy.sendEvent(this);
this.__LZdeleted = true;
this.__LZdelegatesQueue = null;
this.__LZdeferDelegates = false;
if (this._events != null) {
for (var i_$0 = this._events.length - 1;i_$0 >= 0;i_$0--) {
$3.lineno = 90, this._events[i_$0].clearDelegates()
}};
this._events = null
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzEventable.lzs";
$lzsc$temp["_dbg_lineno"] = 73;
return $lzsc$temp
})(), "__LZdeferDelegates", false, "__LZdelegatesQueue", null, "childOf", (function () {
var $lzsc$temp = function (node_$0, ignore_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["node", node_$0, "ignore", ignore_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzEventable.lzs";
$4.lineno = 106;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
ignore_$1 = null
};
return false
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "childOf";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzEventable.lzs";
$lzsc$temp["_dbg_lineno"] = 106;
return $lzsc$temp
})(), "setAttribute", (function () {
var $lzsc$temp = function (prop_$0, val_$1, ifchanged_$2) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["prop", prop_$0, "val", val_$1, "ifchanged", ifchanged_$2];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/core/LzEventable.lzs";
$7.lineno = 119;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
switch (arguments.length) {
case 2:
ifchanged_$2 = null
};
if (ifchanged_$2 !== null) {
$7.lineno = 123, Debug.info("%w.setAttribute(%w, %w, %w):  The third parameter (ifchanged) is deprecated.  Use `if (this.%2$s !== %3$w) this.setAttribute(%2$w, %3$w)` instead", this, prop_$0, val_$1, ifchanged_$2)
};
if (this.__LZdeleted) {
return
};
var s_$3 = "$lzc$set_" + prop_$0;
if (Function["$lzsc$isa"] ? ($7.lineno = 133, Function.$lzsc$isa(this[s_$3])) : this[s_$3] instanceof Function) {
$7.lineno = 134, this[s_$3](val_$1)
} else {
this[prop_$0] = val_$1;
var evt_$4 = this["on" + prop_$0];
if (LzEvent["$lzsc$isa"] ? ($7.lineno = 138, LzEvent.$lzsc$isa(evt_$4)) : evt_$4 instanceof LzEvent) {
if (evt_$4.ready) $7.lineno = 139, evt_$4.sendEvent(val_$1)
}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "setAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzEventable.lzs";
$lzsc$temp["_dbg_lineno"] = 119;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzEventable.lzs";
$3.lineno = 34;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzEventable.prototype[Debug.FUNCTION_FILENAME] = null;
LzEventable.prototype[Debug.FUNCTION_LINENO] = null;
LzEventable.prototype._dbg_typename = null;
LzEventable.prototype[Debug.FUNCTION_NAME] = null
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "core/LzEventable.lzs#34/1";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzEventable.lzs";
$lzsc$temp["_dbg_lineno"] = 34;
return $lzsc$temp
})()(LzEventable);
lz.Eventable = LzEventable;
Class.make("LzStyleAttrBinder", LzEventable, ["target", void 0, "dest", void 0, "source", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (target_$0, dest_$1, source_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["target", target_$0, "dest", dest_$1, "source", source_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzStyleAttrBinder.lzs";
$5.lineno = 21;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($5.lineno = 22, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.target = target_$0;
this.dest = dest_$1;
this.source = source_$2
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzStyleAttrBinder.lzs";
$lzsc$temp["_dbg_lineno"] = 21;
return $lzsc$temp
})(), "bind", (function () {
var $lzsc$temp = function (ignore_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["ignore", ignore_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/core/LzStyleAttrBinder.lzs";
$7.lineno = 28;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
switch (arguments.length) {
case 0:
ignore_$0 = null
};
var target_$1 = this.target;
var dest_$2 = this.dest;
var oldvalue_$3 = target_$1[dest_$2];
var newvalue_$4 = target_$1[this.source];
if (newvalue_$4 !== oldvalue_$3 || !target_$1.inited) {
{
if (!target_$1.__LZdeleted) {
var $lzsc$2114324344 = "$lzc$set_" + dest_$2;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(target_$1[$lzsc$2114324344]) : target_$1[$lzsc$2114324344] instanceof Function) {
target_$1[$lzsc$2114324344](newvalue_$4)
} else {
target_$1[dest_$2] = newvalue_$4;
var $lzsc$1641452100 = target_$1["on" + dest_$2];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$1641452100) : $lzsc$1641452100 instanceof LzEvent) {
if ($lzsc$1641452100.ready) {
$lzsc$1641452100.sendEvent(newvalue_$4)
}}}}}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "bind";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzStyleAttrBinder.lzs";
$lzsc$temp["_dbg_lineno"] = 28;
return $lzsc$temp
})()], null);
Class.make("PresentationType", null, null, ["accept", (function () {
var $lzsc$temp = function (value_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["value", value_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/core/PresentationTypes.lzs";
$3.lineno = 19;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return value_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "accept";
$lzsc$temp["_dbg_filename"] = "lfc/core/PresentationTypes.lzs";
$lzsc$temp["_dbg_lineno"] = 19;
return $lzsc$temp
})(), "present", (function () {
var $lzsc$temp = function (value_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["value", value_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/core/PresentationTypes.lzs";
$3.lineno = 22;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 23, String(value_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "present";
$lzsc$temp["_dbg_filename"] = "lfc/core/PresentationTypes.lzs";
$lzsc$temp["_dbg_lineno"] = 22;
return $lzsc$temp
})()]);
Class.make("DefaultPresentationType", PresentationType, null, ["accept", PresentationType.accept, "present", (function () {
var $lzsc$temp = function (value_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["value", value_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/core/PresentationTypes.lzs";
$3.lineno = 41;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return value_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "present";
$lzsc$temp["_dbg_filename"] = "lfc/core/PresentationTypes.lzs";
$lzsc$temp["_dbg_lineno"] = 41;
return $lzsc$temp
})()]);
Class.make("StringPresentationType", PresentationType, null, ["accept", (function () {
var $lzsc$temp = function (value_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["value", value_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/core/PresentationTypes.lzs";
$3.lineno = 53;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 54, String(value_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "accept";
$lzsc$temp["_dbg_filename"] = "lfc/core/PresentationTypes.lzs";
$lzsc$temp["_dbg_lineno"] = 53;
return $lzsc$temp
})(), "present", PresentationType.present]);
Class.make("BooleanPresentationType", PresentationType, null, ["accept", (function () {
var $lzsc$temp = function (value_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["value", value_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/core/PresentationTypes.lzs";
$3.lineno = 65;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch ($3.lineno = 68, value_$0.toLowerCase()) {
case "":
case "0":
case "false":
return false;;default:
return true
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "accept";
$lzsc$temp["_dbg_filename"] = "lfc/core/PresentationTypes.lzs";
$lzsc$temp["_dbg_lineno"] = 65;
return $lzsc$temp
})(), "present", PresentationType.present]);
Class.make("NumberPresentationType", PresentationType, null, ["accept", (function () {
var $lzsc$temp = function (value_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["value", value_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/core/PresentationTypes.lzs";
$3.lineno = 84;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 93, Number(value_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "accept";
$lzsc$temp["_dbg_filename"] = "lfc/core/PresentationTypes.lzs";
$lzsc$temp["_dbg_lineno"] = 84;
return $lzsc$temp
})(), "present", PresentationType.present]);
Class.make("ColorPresentationType", PresentationType, null, ["accept", (function () {
var $lzsc$temp = function (value_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["value", value_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/core/PresentationTypes.lzs";
$3.lineno = 104;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (value_$0 == -1) {
return null
};
return $3.lineno = 109, LzColorUtils.hextoint(value_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "accept";
$lzsc$temp["_dbg_filename"] = "lfc/core/PresentationTypes.lzs";
$lzsc$temp["_dbg_lineno"] = 104;
return $lzsc$temp
})(), "present", (function () {
var $lzsc$temp = function (value_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["value", value_$0];
$5.callee = arguments.callee;
$5.filename = "lfc/core/PresentationTypes.lzs";
$5.lineno = 111;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var ctab_$1 = lz.colors;
for (var name_$2 in ctab_$1) {
if (ctab_$1[name_$2] === value_$0) {
return name_$2
}};
return $5.lineno = 120, LzColorUtils.inttohex(value_$0)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "present";
$lzsc$temp["_dbg_filename"] = "lfc/core/PresentationTypes.lzs";
$lzsc$temp["_dbg_lineno"] = 111;
return $lzsc$temp
})()]);
Class.make("ExpressionPresentationType", PresentationType, null, ["accept", (function () {
var $lzsc$temp = function (value_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["value", value_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/core/PresentationTypes.lzs";
$3.lineno = 137;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (value_$0) {
case "undefined":
return void 0;;case "null":
return null;;case "false":
return false;;case "true":
return true;;case "NaN":
return 0 / 0;;case "Infinity":
return Infinity;;case "-Infinity":
return -Infinity;;case "":
return ""
};
if (!($3.lineno = 157, isNaN(value_$0))) {
return $3.lineno = 157, Number(value_$0)
};
return $3.lineno = 158, String(value_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "accept";
$lzsc$temp["_dbg_filename"] = "lfc/core/PresentationTypes.lzs";
$lzsc$temp["_dbg_lineno"] = 137;
return $lzsc$temp
})(), "present", PresentationType.present]);
Class.make("SizePresentationType", PresentationType, null, ["accept", (function () {
var $lzsc$temp = function (value_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["value", value_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/core/PresentationTypes.lzs";
$3.lineno = 172;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (value_$0 == "null") {
return null
};
return $3.lineno = 176, Number(value_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "accept";
$lzsc$temp["_dbg_filename"] = "lfc/core/PresentationTypes.lzs";
$lzsc$temp["_dbg_lineno"] = 172;
return $lzsc$temp
})(), "present", PresentationType.present]);
Class.make("LzNode", LzEventable, ["__LZisnew", false, "__LZdeferredcarr", null, "classChildren", null, "animators", null, "_instanceAttrs", null, "_instanceChildren", null, "__LzValueExprs", null, "__LZhasConstraint", (function () {
var $lzsc$temp = function (attr_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["attr", attr_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzNode.lzs";
$3.lineno = 169;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return (attr_$0 in this.__LzValueExprs) && !(LzStyleConstraintExpr["$lzsc$isa"] ? ($3.lineno = 170, LzStyleConstraintExpr.$lzsc$isa(this.__LzValueExprs[attr_$0])) : this.__LzValueExprs[attr_$0] instanceof LzStyleConstraintExpr)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZhasConstraint";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 169;
return $lzsc$temp
})(), "$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $d = Debug;
var $e = $d.backtraceStack;
try {
if ($e) {
var $f = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$f.callee = arguments.callee;
$f["this"] = this;
$f.filename = "lfc/core/LzNode.lzs";
$f.lineno = 181;
$e.push($f);
if ($e.length > $e.maxDepth) {
$d.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($f.lineno = 182, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.__LZUID = "__U" + ++LzNode.__UIDs;
this.__LZdeferDelegates = true;
if (attrs_$1) {
if (attrs_$1["$lzc$bind_id"]) {
this.$lzc$bind_id = attrs_$1.$lzc$bind_id
};
if (attrs_$1["$lzc$bind_name"]) {
this.$lzc$bind_name = attrs_$1.$lzc$bind_name
}};
var bindid_$4 = this.$lzc$bind_id;
if (bindid_$4) {
$f.lineno = 200, bindid_$4.call(null, this)
};
var bindname_$5 = this.$lzc$bind_name;
if (bindname_$5) {
$f.lineno = 204, bindname_$5.call(null, this)
};
this._instanceAttrs = attrs_$1;
this._instanceChildren = children_$2;
var iargs_$6 = ($f.lineno = 211, new LzInheritedHash(this["constructor"].attributes));
if (!(LzState["$lzsc$isa"] ? ($f.lineno = 219, LzState.$lzsc$isa(this)) : this instanceof LzState)) {
for (var key_$7 in iargs_$6) {
var val_$8 = iargs_$6[key_$7];
if (!(LzInitExpr["$lzsc$isa"] ? ($f.lineno = 222, LzInitExpr.$lzsc$isa(val_$8)) : val_$8 instanceof LzInitExpr)) {
var setr_$9 = "$lzc$set_" + key_$7;
if (!this[setr_$9]) {
if (Function["$lzsc$isa"] ? ($f.lineno = 227, Function.$lzsc$isa(val_$8)) : val_$8 instanceof Function) {
$f.lineno = 228, this.addProperty(key_$7, val_$8)
} else if (val_$8 !== void 0) {
this[key_$7] = val_$8
} else if (this[key_$7] === void 0) {
this[key_$7] = void 0
};
delete iargs_$6[key_$7]
} else {
if (this[key_$7] === void 0) {
this[key_$7] = null
}}}}};
if (attrs_$1) {
$f.lineno = 263, LzNode.mergeAttributes(attrs_$1, iargs_$6)
};
if (bindid_$4) {
iargs_$6.$lzc$bind_id = LzNode._ignoreAttribute
};
if (bindname_$5) {
iargs_$6.$lzc$bind_name = LzNode._ignoreAttribute
};
this.__LZisnew = !instcall_$3;
var classChildren_$a = this["constructor"]["children"];
if (Array["$lzsc$isa"] ? ($f.lineno = 276, Array.$lzsc$isa(classChildren_$a)) : classChildren_$a instanceof Array) {
children_$2 = ($f.lineno = 277, LzNode.mergeChildren(children_$2, classChildren_$a))
};
if (iargs_$6["datapath"] != null) {
delete iargs_$6["$datapath"]
};
var cargs_$b = this.__LzValueExprs = {};
for (var key_$7 in iargs_$6) {
var val_$8 = iargs_$6[key_$7];
if (LzValueExpr["$lzsc$isa"] ? ($f.lineno = 294, LzValueExpr.$lzsc$isa(val_$8)) : val_$8 instanceof LzValueExpr) {
cargs_$b[key_$7] = val_$8;
delete iargs_$6[key_$7]
}};
$f.lineno = 299, this.construct(parent_$0, iargs_$6);
if (this.__LZdeleted) {
return
};
for (var key_$7 in cargs_$b) {
iargs_$6[key_$7] = cargs_$b[key_$7]
};
this.__LzValueExprs = null;
$f.lineno = 319, this.__LZapplyArgs(iargs_$6, true);
if (this.__LZdeleted) {
return
};
this.__LZdeferDelegates = false;
var evq_$c = this.__LZdelegatesQueue;
if (evq_$c) {
$f.lineno = 328, LzDelegate.__LZdrainDelegatesQueue(evq_$c);
this.__LZdelegatesQueue = null
};
if (this.onconstruct.ready) $f.lineno = 332, this.onconstruct.sendEvent(this);
if (children_$2 && children_$2.length) {
$f.lineno = 335, this.createChildren(children_$2)
} else {
$f.lineno = 337, this.__LZinstantiationDone()
}}
finally {
if ($e) {
$e.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 181;
return $lzsc$temp
})(), "oninit", LzDeclaredEvent, "onconstruct", LzDeclaredEvent, "ondata", LzDeclaredEvent, "clonenumber", null, "onclonenumber", LzDeclaredEvent, "__LZinstantiated", false, "__LZpreventSubInit", null, "__LZresolveDict", null, "__LZsourceLocation", null, "__LZUID", null, "__LZPropertyCache", null, "__LZStyledProperties", null, "__LZRuleCache", null, "__LZdelegates", null, "isinited", false, "inited", false, "oninited", LzDeclaredEvent, "subnodes", null, "datapath", null, "$lzc$set_datapath", (function () {
var $lzsc$temp = function (dp_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["dp", dp_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzNode.lzs";
$3.lineno = 466;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (null != this.datapath && dp_$0 !== LzNode._ignoreAttribute) {
$3.lineno = 468, this.datapath.setXPath(dp_$0)
} else {
$3.lineno = 471, new LzDatapath(this, {xpath: dp_$0})
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_datapath";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 466;
return $lzsc$temp
})(), "initstage", null, "$isstate", false, "doneClassRoot", false, "parent", void 0, "cloneManager", null, "name", null, "$lzc$bind_name", null, "id", null, "$lzc$set_id", -1, "$lzc$bind_id", null, "defaultplacement", null, "placement", null, "$lzc$set_placement", -1, "$cfn", 0, "immediateparent", null, "dependencies", null, "classroot", void 0, "nodeLevel", 0, "lookupSourceLocator", (function () {
var $lzsc$temp = function (sourceLocator_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sourceLocator", sourceLocator_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzNode.lzs";
$3.lineno = 642;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return LzNode.sourceLocatorTable[sourceLocator_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "lookupSourceLocator";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 642;
return $lzsc$temp
})(), "__LZstyleBindAttribute", (function () {
var $lzsc$temp = function (attr_$0, prop_$1, type_$2, fallback_$3, warn_$4) {
var $c = Debug;
var $d = $c.backtraceStack;
try {
if ($d) {
var $e = ["attr", attr_$0, "prop", prop_$1, "type", type_$2, "fallback", fallback_$3, "warn", warn_$4];
$e.callee = arguments.callee;
$e["this"] = this;
$e.filename = "lfc/core/LzNode.lzs";
$e.lineno = 658;
$d.push($e);
if ($d.length > $d.maxDepth) {
$c.stackOverflow()
}};
switch (arguments.length) {
case 3:
fallback_$3 = void 0;;case 4:
warn_$4 = true
};
var pc_$5 = this["__LZPropertyCache"] || ($e.lineno = 661, LzCSSStyle.getPropertyCache(this));
if (!(prop_$1 in pc_$5) && warn_$4 != false) {
$e.lineno = 667, Debug.warn("%w.%s: No applicable value for CSS property %w and there is no default.", this, attr_$0, prop_$1);
pc_$5[prop_$1] = void 0
};
var sp_$6 = this.__LZStyledProperties;
if (sp_$6 == null) {
sp_$6 = this.__LZStyledProperties = []
};
$e.lineno = 674, sp_$6.push(prop_$1);
var styleValue_$7 = pc_$5[prop_$1];
if (typeof styleValue_$7 == "string" && styleValue_$7.length > 2 && ($e.lineno = 682, styleValue_$7.indexOf("0x")) == 0 && !($e.lineno = 682, isNaN(styleValue_$7))) {
$e.lineno = 684, Debug.warn("%w.%s: Invalid value for CSS property %w: `%#w`.  Use: `#%06x`.", this, attr_$0, prop_$1, styleValue_$7, ($e.lineno = 684, Number(styleValue_$7)));
styleValue_$7 = ($e.lineno = 686, Number(styleValue_$7))
};
if (LzStyleExpr["$lzsc$isa"] ? ($e.lineno = 689, LzStyleExpr.$lzsc$isa(styleValue_$7)) : styleValue_$7 instanceof LzStyleExpr) {
if (LzStyleAttr["$lzsc$isa"] ? ($e.lineno = 690, LzStyleAttr.$lzsc$isa(styleValue_$7)) : styleValue_$7 instanceof LzStyleAttr) {
var sa_$8 = styleValue_$7;
var source_$9 = sa_$8.sourceAttributeName;
var binder_$a = ($e.lineno = 694, new LzStyleAttrBinder(this, attr_$0, source_$9));
if (!this.__LZdelegates) {
this.__LZdelegates = []
};
$e.lineno = 701, this.__LZdelegates.push(($e.lineno = 701, new LzDelegate(binder_$a, "bind", this, "on" + source_$9)));
$e.lineno = 703, binder_$a.bind()
} else if (LzStyleIdent["$lzsc$isa"] ? ($e.lineno = 704, LzStyleIdent.$lzsc$isa(styleValue_$7)) : styleValue_$7 instanceof LzStyleIdent) {
var si_$b = styleValue_$7;
$e.lineno = 706, this.acceptAttribute(attr_$0, type_$2, si_$b.sourceValueID)
} else {
$e.lineno = 708, Debug.error("Unknown style expression %w", styleValue_$7)
}} else if (styleValue_$7 !== void 0) {
{
if (!this.__LZdeleted) {
var $lzsc$1460990229 = "$lzc$set_" + attr_$0;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this[$lzsc$1460990229]) : this[$lzsc$1460990229] instanceof Function) {
this[$lzsc$1460990229](styleValue_$7)
} else {
this[attr_$0] = styleValue_$7;
var $lzsc$237356674 = this["on" + attr_$0];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$237356674) : $lzsc$237356674 instanceof LzEvent) {
if ($lzsc$237356674.ready) {
$lzsc$237356674.sendEvent(styleValue_$7)
}}}}}} else if (LzInitExpr["$lzsc$isa"] ? ($e.lineno = 713, LzInitExpr.$lzsc$isa(fallback_$3)) : fallback_$3 instanceof LzInitExpr) {
$e.lineno = 714, this.applyConstraintExpr(fallback_$3)
} else {
{
if (!this.__LZdeleted) {
var $lzsc$331951028 = "$lzc$set_" + attr_$0;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this[$lzsc$331951028]) : this[$lzsc$331951028] instanceof Function) {
this[$lzsc$331951028](fallback_$3)
} else {
this[attr_$0] = fallback_$3;
var $lzsc$2076282443 = this["on" + attr_$0];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$2076282443) : $lzsc$2076282443 instanceof LzEvent) {
if ($lzsc$2076282443.ready) {
$lzsc$2076282443.sendEvent(fallback_$3)
}}}}}}}
finally {
if ($d) {
$d.length--
}}};
$lzsc$temp["displayName"] = "__LZstyleBindAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 658;
return $lzsc$temp
})(), "construct", (function () {
var $lzsc$temp = function (parent_$0, args_$1) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["parent", parent_$0, "args", args_$1];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/core/LzNode.lzs";
$a.lineno = 794;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
this.__LZdelayedSetters = LzNode.__LZdelayedSetters;
this.earlySetters = LzNode.earlySetters;
var lp_$2 = parent_$0;
this.parent = lp_$2;
if (lp_$2) {
var ip_$3 = lp_$2;
if (args_$1["ignoreplacement"] || this.ignoreplacement) {
this.placement = null
} else {
var thisplacement_$4 = args_$1["placement"] || lp_$2.defaultplacement;
while (thisplacement_$4 != null) {
if (ip_$3.determinePlacement == LzNode.prototype.determinePlacement) {
var pp_$5 = ($a.lineno = 820, ip_$3.searchSubnodes("name", thisplacement_$4));
if (pp_$5 == null) pp_$5 = ip_$3
} else {
var pp_$5 = ($a.lineno = 824, ip_$3.determinePlacement(this, thisplacement_$4, args_$1))
};
thisplacement_$4 = pp_$5 != ip_$3 ? pp_$5.defaultplacement : null;
ip_$3 = pp_$5
};
this.placement = thisplacement_$4
};
if (!this.__LZdeleted) {
var ip_subnodes_$6 = ip_$3.subnodes;
if (ip_subnodes_$6 == null) {
ip_$3.subnodes = [this]
} else {
ip_subnodes_$6[ip_subnodes_$6.length] = this
}};
var nl_$7 = ip_$3.nodeLevel;
this.nodeLevel = nl_$7 ? nl_$7 + 1 : 1;
this.immediateparent = ip_$3
} else {
this.nodeLevel = 1
}}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 794;
return $lzsc$temp
})(), "init", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzNode.lzs";
$2.lineno = 865;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "init";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 865;
return $lzsc$temp
})(), "__LZinstantiationDone", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzNode.lzs";
$2.lineno = 876;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.__LZinstantiated = true;
if (!this.__LZdeleted && (!this.immediateparent || this.immediateparent.isinited || this.initstage == "early" || this.__LZisnew && lz.Instantiator.syncNew)) {
$2.lineno = 883, this.__LZcallInit()
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__LZinstantiationDone";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 876;
return $lzsc$temp
})(), "__LZsetPreventInit", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzNode.lzs";
$2.lineno = 890;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.__LZpreventSubInit = []
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__LZsetPreventInit";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 890;
return $lzsc$temp
})(), "__LZclearPreventInit", (function () {
var $lzsc$temp = function () {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = [];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzNode.lzs";
$5.lineno = 897;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var lzp_$0 = this.__LZpreventSubInit;
this.__LZpreventSubInit = null;
var l_$1 = lzp_$0.length;
for (var i_$2 = 0;i_$2 < l_$1;i_$2++) {
$5.lineno = 902, lzp_$0[i_$2].__LZcallInit()
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZclearPreventInit";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 897;
return $lzsc$temp
})(), "__LZcallInit", (function () {
var $lzsc$temp = function (an_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["an", an_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/core/LzNode.lzs";
$7.lineno = 911;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
switch (arguments.length) {
case 0:
an_$0 = null
};
if (this.parent && this.parent.__LZpreventSubInit) {
$7.lineno = 913, this.parent.__LZpreventSubInit.push(this);
return
};
this.isinited = true;
$7.lineno = 921, this.__LZresolveReferences();
if (this.__LZdeleted) return;
var sl_$1 = this.subnodes;
if (sl_$1) {
for (var i_$2 = 0;i_$2 < sl_$1.length;) {
var s_$3 = sl_$1[i_$2++];
var t_$4 = sl_$1[i_$2];
if (s_$3.isinited || !s_$3.__LZinstantiated) continue;
$7.lineno = 934, s_$3.__LZcallInit();
if (this.__LZdeleted) return;
if (t_$4 != sl_$1[i_$2]) {
while (i_$2 > 0) {
if (t_$4 == sl_$1[--i_$2]) break
}}}};
if (this.__LZsourceLocation) {
LzNode.sourceLocatorTable[this.__LZsourceLocation] = this
};
$7.lineno = 958, this.init();
if (this.oninit.ready) $7.lineno = 959, this.oninit.sendEvent(this);
if (this.datapath && this.datapath.__LZApplyDataOnInit) {
$7.lineno = 961, this.datapath.__LZApplyDataOnInit()
};
this.inited = true;
if (this.oninited.ready) {
$7.lineno = 967, this.oninited.sendEvent(true)
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "__LZcallInit";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 911;
return $lzsc$temp
})(), "completeInstantiation", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzNode.lzs";
$3.lineno = 986;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this.isinited) {
var myis_$0 = this.initstage;
this.initstage = "early";
if (myis_$0 == "defer") {
$3.lineno = 994, lz.Instantiator.createImmediate(this, this.__LZdeferredcarr)
} else {
$3.lineno = 996, lz.Instantiator.completeTrickle(this)
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "completeInstantiation";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 986;
return $lzsc$temp
})(), "ignoreplacement", false, "__LZapplyArgs", (function () {
var $lzsc$temp = function (args_$0, constcall_$1) {
var $d = Debug;
var $e = $d.backtraceStack;
try {
if ($e) {
var $f = ["args", args_$0, "constcall", constcall_$1];
$f.callee = arguments.callee;
$f["this"] = this;
$f.filename = "lfc/core/LzNode.lzs";
$f.lineno = 1024;
$e.push($f);
if ($e.length > $e.maxDepth) {
$d.stackOverflow()
}};
switch (arguments.length) {
case 1:
constcall_$1 = null
};
var oset_$2 = {};
var hasset_$3 = null;
var hasearly_$4 = null;
var inits_$5 = null;
var constraints_$6 = null;
for (var key_$7 in args_$0) {
var val_$8 = args_$0[key_$7];
var setr_$9 = "$lzc$set_" + key_$7;
if (oset_$2[key_$7] || args_$0[key_$7] === LzNode._ignoreAttribute) continue;
oset_$2[key_$7] = true;
if (LzInitExpr["$lzsc$isa"] ? ($f.lineno = 1040, LzInitExpr.$lzsc$isa(val_$8)) : val_$8 instanceof LzInitExpr) {
if (val_$8 instanceof LzConstraintExpr) {
if (constraints_$6 == null) {
constraints_$6 = []
};
$f.lineno = 1045, constraints_$6.push(val_$8)
} else if (val_$8 instanceof LzOnceExpr) {
if (inits_$5 == null) {
inits_$5 = []
};
$f.lineno = 1049, inits_$5.push(val_$8)
} else {
$f.lineno = 1051, Debug.debug("Unknown init expr: %w", val_$8)
};
if (this[key_$7] === void 0) {
this[key_$7] = null
}} else if (!this[setr_$9]) {
if (Function["$lzsc$isa"] ? ($f.lineno = 1076, Function.$lzsc$isa(val_$8)) : val_$8 instanceof Function) {
$f.lineno = 1077, this.addProperty(key_$7, val_$8)
} else if (val_$8 !== void 0) {
this[key_$7] = val_$8
} else if (this[key_$7] === void 0) {
this[key_$7] = void 0
};
if (!constcall_$1) {
var evt_$a = "on" + key_$7;
if (LzEvent["$lzsc$isa"] ? ($f.lineno = 1090, LzEvent.$lzsc$isa(this[evt_$a])) : this[evt_$a] instanceof LzEvent) {
if (this[evt_$a].ready) $f.lineno = 1091, this[evt_$a].sendEvent(args_$0[key_$7])
}}} else if (Function["$lzsc$isa"] ? ($f.lineno = 1094, Function.$lzsc$isa(this[setr_$9])) : this[setr_$9] instanceof Function) {
if (key_$7 in this.earlySetters) {
if (hasearly_$4 == null) {
hasearly_$4 = []
};
hasearly_$4[this.earlySetters[key_$7]] = key_$7
} else {
if (hasset_$3 == null) {
hasset_$3 = []
};
$f.lineno = 1103, hasset_$3.push(key_$7)
}}};
if (hasearly_$4) {
for (var i_$b = 1, l_$c = hasearly_$4.length;i_$b < l_$c;i_$b++) {
if (i_$b in hasearly_$4) {
if (this.__LZdeleted) return;
var key_$7 = hasearly_$4[i_$b];
var setr_$9 = "$lzc$set_" + key_$7;
$f.lineno = 1115, this[setr_$9](args_$0[key_$7])
}}};
if (hasset_$3) {
for (var i_$b = hasset_$3.length - 1;i_$b >= 0;i_$b--) {
if (this.__LZdeleted) return;
var key_$7 = hasset_$3[i_$b];
var setr_$9 = "$lzc$set_" + key_$7;
$f.lineno = 1126, this[setr_$9](args_$0[key_$7])
}};
if (inits_$5 != null) {
$f.lineno = 1135, this.__LZstoreAttr(inits_$5, "$inits")
};
if (constraints_$6 != null) {
$f.lineno = 1136, this.__LZstoreAttr(constraints_$6, "$constraints")
}}
finally {
if ($e) {
$e.length--
}}};
$lzsc$temp["displayName"] = "__LZapplyArgs";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1024;
return $lzsc$temp
})(), "createChildren", (function () {
var $lzsc$temp = function (carr_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["carr", carr_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzNode.lzs";
$3.lineno = 1154;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.__LZdeleted) return;
if ("defer" == this.initstage) {
this.__LZdeferredcarr = carr_$0
} else if ("late" == this.initstage) {
$3.lineno = 1161, lz.Instantiator.trickleInstantiate(this, carr_$0)
} else if (this.__LZisnew && lz.Instantiator.syncNew || "immediate" == this.initstage) {
$3.lineno = 1164, lz.Instantiator.createImmediate(this, carr_$0)
} else {
$3.lineno = 1166, lz.Instantiator.requestInstantiation(this, carr_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "createChildren";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1154;
return $lzsc$temp
})(), "getExpectedAttribute", (function () {
var $lzsc$temp = function (prop_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["prop", prop_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzNode.lzs";
$4.lineno = 1183;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var e_prop_$1 = "e_" + prop_$0;
if (!this[e_prop_$1]) this[e_prop_$1] = {};
if (this[e_prop_$1].v == null) return this[prop_$0];
return this[e_prop_$1].v
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "getExpectedAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1183;
return $lzsc$temp
})(), "setExpectedAttribute", (function () {
var $lzsc$temp = function (prop_$0, val_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["prop", prop_$0, "val", val_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzNode.lzs";
$5.lineno = 1195;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var e_prop_$2 = "e_" + prop_$0;
if (!this[e_prop_$2]) this[e_prop_$2] = {};
this[e_prop_$2].v = val_$1
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "setExpectedAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1195;
return $lzsc$temp
})(), "addToExpectedAttribute", (function () {
var $lzsc$temp = function (prop_$0, val_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["prop", prop_$0, "val", val_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzNode.lzs";
$5.lineno = 1206;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var e_prop_$2 = "e_" + prop_$0;
if (!this[e_prop_$2]) this[e_prop_$2] = {};
if (this[e_prop_$2].v == null) this[e_prop_$2].v = this[prop_$0];
this[e_prop_$2].v += val_$1
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "addToExpectedAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1206;
return $lzsc$temp
})(), "__LZincrementCounter", (function () {
var $lzsc$temp = function (prop_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["prop", prop_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzNode.lzs";
$5.lineno = 1217;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var e_prop_$1 = "e_" + prop_$0;
var tep_$2 = this[e_prop_$1];
if (!tep_$2) {
tep_$2 = this[e_prop_$1] = {}};
if (!tep_$2.c) {
tep_$2.c = 0
};
tep_$2.c += 1
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZincrementCounter";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1217;
return $lzsc$temp
})(), "makeChild", (function () {
var $lzsc$temp = function (e_$0, async_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["e", e_$0, "async", async_$1];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/core/LzNode.lzs";
$9.lineno = 1258;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
switch (arguments.length) {
case 1:
async_$1 = null
};
if (this.__LZdeleted) {
return
};
for (var p_$2 = this;p_$2 != canvas;p_$2 = p_$2.immediateparent) {
if (p_$2 == null) break;
if (p_$2.__LZdeleted) {
$9.lineno = 1269, Debug.error("%w.makeChild(%w, %w) when %w.__LZdeleted", this, e_$0, async_$1, p_$2)
}};
var x_$3 = e_$0["class"];
if (!x_$3) {
if (e_$0["tag"]) {
x_$3 = lz[e_$0.tag]
};
if (!x_$3 && e_$0["name"]) {
$9.lineno = 1282, Debug.deprecated(arguments.callee, "name", "class");
x_$3 = lz[e_$0.name]
}};
var ok_$4 = Function["$lzsc$isa"] ? ($9.lineno = 1293, Function.$lzsc$isa(x_$3)) : x_$3 instanceof Function;
if (!ok_$4) {
var name_$5 = e_$0["tag"] || e_$0["name"];
if (name_$5) {
name_$5 = "<" + name_$5 + ">"
} else {
name_$5 = "a class"
};
$9.lineno = 1302, Debug.error("Attempt to instantiate %s, which has not been defined", name_$5)
};
var w_$6;
if (x_$3) {
w_$6 = ($9.lineno = 1307, new x_$3(this, e_$0.attrs, ("children" in e_$0) ? e_$0.children : null, async_$1))
};
return w_$6
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "makeChild";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1258;
return $lzsc$temp
})(), "$lzc$set_$setters", -1, "$lzc$set_$classrootdepth", (function () {
var $lzsc$temp = function (d_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["d", d_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzNode.lzs";
$4.lineno = 1322;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (!d_$0) return;
var p_$1 = this.parent;
while (--d_$0 > 0) {
p_$1 = p_$1.parent
};
this.classroot = p_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_$classrootdepth";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1322;
return $lzsc$temp
})(), "dataBindAttribute", (function () {
var $lzsc$temp = function (attr_$0, path_$1, type_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["attr", attr_$0, "path", path_$1, "type", type_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzNode.lzs";
$5.lineno = 1342;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (path_$1 == null) {
$5.lineno = 1345, Debug.warn('No value for %w.%s="$path{%w}"', this, attr_$0, path_$1)
};
if (!this.datapath) {
$5.lineno = 1350, this.$lzc$set_datapath(".")
};
if (!this.__LZdelegates) {
this.__LZdelegates = []
};
$5.lineno = 1357, this.__LZdelegates.push(($5.lineno = 1357, new LzDataAttrBind(this.datapath, attr_$0, path_$1, type_$2)))
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "dataBindAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1342;
return $lzsc$temp
})(), "__LZdelayedSetters", void 0, "earlySetters", void 0, "$lzc$set_$delegates", (function () {
var $lzsc$temp = function (delarr_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["delarr", delarr_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/core/LzNode.lzs";
$7.lineno = 1380;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var resarray_$1 = [];
var l_$2 = delarr_$0.length;
for (var i_$3 = 0;i_$3 < l_$2;i_$3 += 3) {
if (delarr_$0[i_$3 + 2]) {
$7.lineno = 1389, resarray_$1.push(delarr_$0[i_$3], delarr_$0[i_$3 + 1], delarr_$0[i_$3 + 2])
} else {
var m_$4 = delarr_$0[i_$3 + 1];
if (!this.__LZdelegates) {
this.__LZdelegates = []
};
$7.lineno = 1395, this.__LZdelegates.push(($7.lineno = 1395, new LzDelegate(this, m_$4, this, delarr_$0[i_$3])))
}};
if (resarray_$1.length) {
$7.lineno = 1400, this.__LZstoreAttr(resarray_$1, "$delegates")
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_$delegates";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1380;
return $lzsc$temp
})(), "__LZstoreAttr", (function () {
var $lzsc$temp = function (val_$0, prop_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["val", val_$0, "prop", prop_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzNode.lzs";
$4.lineno = 1408;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.__LZresolveDict == null) {
this.__LZresolveDict = {}};
this.__LZresolveDict[prop_$1] = val_$0
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZstoreAttr";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1408;
return $lzsc$temp
})(), "__LZresolveReferences", (function () {
var $lzsc$temp = function () {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = [];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/core/LzNode.lzs";
$8.lineno = 1419;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var rdict_$0 = this.__LZresolveDict;
if (rdict_$0 != null) {
this.__LZresolveDict = null;
var inits_$1 = rdict_$0["$inits"];
if (inits_$1 != null) {
for (var i_$2 = 0, l_$3 = inits_$1.length;i_$2 < l_$3;i_$2++) {
$8.lineno = 1427, this[inits_$1[i_$2].methodName](null);
if (this.__LZdeleted) return
}};
var constraints_$4 = rdict_$0["$constraints"];
if (constraints_$4 != null) {
for (var i_$2 = 0, l_$3 = constraints_$4.length;i_$2 < l_$3;i_$2++) {
$8.lineno = 1437, this.applyConstraintExpr(constraints_$4[i_$2]);
if (this.__LZdeleted) return
}};
for (var r_$5 in rdict_$0) {
if (r_$5 == "$inits" || r_$5 == "$constraints" || r_$5 == "$delegates") continue;
if (r_$5 in this.__LZdelayedSetters) {
$8.lineno = 1447, this[this.__LZdelayedSetters[r_$5]](rdict_$0[r_$5])
} else {
$8.lineno = 1449, Debug.warn("No delayed setter for %s", r_$5)
}};
if (rdict_$0["$delegates"]) $8.lineno = 1454, this.__LZsetDelegates(rdict_$0.$delegates)
}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "__LZresolveReferences";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1419;
return $lzsc$temp
})(), "__LZsetDelegates", (function () {
var $lzsc$temp = function (delarr_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["delarr", delarr_$0];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/core/LzNode.lzs";
$8.lineno = 1461;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
if (delarr_$0.length && !this.__LZdelegates) {
this.__LZdelegates = []
};
var l_$1 = delarr_$0.length;
for (var i_$2 = 0;i_$2 < l_$1;i_$2 += 3) {
var sendermethodname_$3 = delarr_$0[i_$2 + 2];
var sender_$4 = sendermethodname_$3 != null ? ($8.lineno = 1469, this[sendermethodname_$3]()) : null;
if (sender_$4 == null) sender_$4 = this;
var meth_$5 = delarr_$0[i_$2 + 1];
$8.lineno = 1472, this.__LZdelegates.push(($8.lineno = 1472, new LzDelegate(this, meth_$5, sender_$4, delarr_$0[i_$2])))
}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "__LZsetDelegates";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1461;
return $lzsc$temp
})(), "applyConstraint", (function () {
var $lzsc$temp = function (attribute_$0, constraint_$1, dependencies_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["attribute", attribute_$0, "constraint", constraint_$1, "dependencies", dependencies_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/core/LzNode.lzs";
$6.lineno = 1493;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
$6.lineno = 1495, Debug.deprecated(this, arguments.callee, this.applyConstraintMethod);
var constraintMethodName_$3 = "$cf" + this.$cfn++;
$6.lineno = 1498, this.addProperty(constraintMethodName_$3, constraint_$1);
return $6.lineno = 1499, this.applyConstraintMethod(constraintMethodName_$3, dependencies_$2)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "applyConstraint";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1493;
return $lzsc$temp
})(), "applyConstraintMethod", (function () {
var $lzsc$temp = function (constraintMethodName_$0, dependencies_$1) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["constraintMethodName", constraintMethodName_$0, "dependencies", dependencies_$1];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/core/LzNode.lzs";
$8.lineno = 1518;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
if (!(arguments.length == 2 && typeof constraintMethodName_$0 == "string" && this[constraintMethodName_$0] instanceof Function && (dependencies_$1 == null || dependencies_$1 instanceof Array))) {
$8.lineno = 1524, Debug.error("%w.%s: invalid arguments %w", this, arguments.callee, arguments)
};
if (dependencies_$1 && dependencies_$1.length > 0) {
if (!this.__LZdelegates) {
this.__LZdelegates = []
};
var dp_$2;
for (var i_$3 = 0, l_$4 = dependencies_$1.length;i_$3 < l_$4;i_$3 += 2) {
dp_$2 = dependencies_$1[i_$3];
if (dp_$2) {
var d_$5 = ($8.lineno = 1547, new LzDelegate(this, constraintMethodName_$0, dp_$2, "on" + dependencies_$1[i_$3 + 1]));
$8.lineno = 1548, this.__LZdelegates.push(d_$5)
}}};
$8.lineno = 1555, this[constraintMethodName_$0](null)
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "applyConstraintMethod";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1518;
return $lzsc$temp
})(), "applyConstraintExpr", (function () {
var $lzsc$temp = function (expr_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["expr", expr_$0];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/core/LzNode.lzs";
$8.lineno = 1559;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
if (expr_$0 instanceof LzStyleConstraintExpr) {
var se_$1 = expr_$0;
$8.lineno = 1563, this.__LZstyleBindAttribute(se_$1.attribute, se_$1.property, se_$1.type, se_$1.fallback, se_$1.warn);
return
};
var constraintMethodName_$2 = expr_$0.methodName;
if (!(Function["$lzsc$isa"] ? ($8.lineno = 1569, Function.$lzsc$isa(this[constraintMethodName_$2])) : this[constraintMethodName_$2] instanceof Function)) {
$8.lineno = 1570, Debug.debug("Bad constraint %w on %w", expr_$0, this)
};
var dependencies_$3 = null;
if (expr_$0 instanceof LzAlwaysExpr) {
var c_$4 = expr_$0;
var dependenciesMethodName_$5 = c_$4.dependenciesName;
if (!(Function["$lzsc$isa"] ? ($8.lineno = 1579, Function.$lzsc$isa(this[dependenciesMethodName_$5])) : this[dependenciesMethodName_$5] instanceof Function)) {
$8.lineno = 1580, Debug.debug("Bad constraint dependencies %w on %w", expr_$0, this)
};
dependencies_$3 = ($8.lineno = 1583, this[dependenciesMethodName_$5]())
};
$8.lineno = 1585, this.applyConstraintMethod(constraintMethodName_$2, dependencies_$3)
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "applyConstraintExpr";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1559;
return $lzsc$temp
})(), "releaseConstraint", (function () {
var $lzsc$temp = function (attr_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["attr", attr_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzNode.lzs";
$5.lineno = 1598;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (this._instanceAttrs != null) {
var c_$1 = this._instanceAttrs[attr_$0];
if (c_$1 instanceof LzConstraintExpr) {
var m_$2 = c_$1.methodName;
return $5.lineno = 1603, this.releaseConstraintMethod(m_$2)
}};
return false
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "releaseConstraint";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1598;
return $lzsc$temp
})(), "releaseConstraintMethod", (function () {
var $lzsc$temp = function (constraintMethodName_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["constraintMethodName", constraintMethodName_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/core/LzNode.lzs";
$7.lineno = 1618;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var result_$1 = false;
var dels_$2 = this.__LZdelegates;
if (dels_$2) {
for (var i_$3 = 0;i_$3 < dels_$2.length;) {
var del_$4 = dels_$2[i_$3];
if ((LzDelegate["$lzsc$isa"] ? ($7.lineno = 1624, LzDelegate.$lzsc$isa(del_$4)) : del_$4 instanceof LzDelegate) && del_$4.c === this && del_$4.m === this[constraintMethodName_$0]) {
$7.lineno = 1626, del_$4.unregisterAll();
$7.lineno = 1627, dels_$2.splice(i_$3, 1);
result_$1 = true
} else {
i_$3++
}}};
return result_$1
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "releaseConstraintMethod";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1618;
return $lzsc$temp
})(), "$lzc$set_name", (function () {
var $lzsc$temp = function (name_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["name", name_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/core/LzNode.lzs";
$6.lineno = 1649;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (!(name_$0 === null || typeof name_$0 == "string")) {
$6.lineno = 1654, Debug.error("Invalid name %#w for %w", name_$0, this);
return
};
var old_$1 = this.name;
var p_$2 = this.parent;
var ip_$3 = this.immediateparent;
if (old_$1 && old_$1 != name_$0) {
if (this.$lzc$bind_name) {
if (($6.lineno = 1669, globalValue(old_$1)) === this) {
$6.lineno = 1670, this.$lzc$bind_name.call(null, this, false)
}};
if (p_$2) {
if (old_$1 && p_$2[old_$1] === this) {
p_$2[old_$1] = null
}};
if (ip_$3) {
if (old_$1 && ip_$3[old_$1] === this) {
ip_$3[old_$1] = null
}}};
if (name_$0 && name_$0.length) {
if (p_$2 && p_$2[name_$0] && p_$2[name_$0] !== this) {
$6.lineno = 1698, Debug.warn("Redefining %w.%s from %w to %w", p_$2, name_$0, p_$2[name_$0], this)
};
if (p_$2) {
p_$2[name_$0] = this
};
if (ip_$3 && ip_$3[name_$0] && ip_$3[name_$0] !== this) {
$6.lineno = 1708, Debug.warn("Redefining %w.%s from %w to %w", ip_$3, name_$0, ip_$3[name_$0], this)
};
if (ip_$3) {
ip_$3[name_$0] = this
}};
this.name = name_$0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_name";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1649;
return $lzsc$temp
})(), "defaultSet", (function () {
var $lzsc$temp = function (val_$0, prop_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["val", val_$0, "prop", prop_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzNode.lzs";
$4.lineno = 1724;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (val_$0 != null) {
this[prop_$1] = val_$0
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "defaultSet";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1724;
return $lzsc$temp
})(), "setDatapath", (function () {
var $lzsc$temp = function (dp_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["dp", dp_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzNode.lzs";
$3.lineno = 1737;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1738, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1739, this.$lzc$set_datapath(dp_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setDatapath";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1737;
return $lzsc$temp
})(), "data", null, "$lzc$set_data", (function () {
var $lzsc$temp = function (data_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["data", data_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzNode.lzs";
$4.lineno = 1748;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.data = data_$0;
if (LzDataNodeMixin["$lzsc$isa"] ? ($4.lineno = 1750, LzDataNodeMixin.$lzsc$isa(data_$0)) : data_$0 instanceof LzDataNodeMixin) {
var dp_$1 = this.datapath || ($4.lineno = 1751, new LzDatapath(this));
$4.lineno = 1752, dp_$1.setPointer(data_$0)
};
if (this.ondata.ready) $4.lineno = 1754, this.ondata.sendEvent(data_$0)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_data";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1748;
return $lzsc$temp
})(), "setData", (function () {
var $lzsc$temp = function (data_$0, ignore_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["data", data_$0, "ignore", ignore_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzNode.lzs";
$4.lineno = 1766;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
ignore_$1 = null
};
$4.lineno = 1767, Debug.deprecated(this, arguments.callee, this.setAttribute);
$4.lineno = 1768, this.$lzc$set_data(data_$0)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setData";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1766;
return $lzsc$temp
})(), "applyData", (function () {
var $lzsc$temp = function (data_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["data", data_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzNode.lzs";
$3.lineno = 1779;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "applyData";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1779;
return $lzsc$temp
})(), "updateData", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzNode.lzs";
$2.lineno = 1792;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return void 0
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "updateData";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1792;
return $lzsc$temp
})(), "setSelected", (function () {
var $lzsc$temp = function (sel_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sel", sel_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzNode.lzs";
$3.lineno = 1806;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setSelected";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1806;
return $lzsc$temp
})(), "options", {}, "$lzc$set_options", (function () {
var $lzsc$temp = function (hash_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["hash", hash_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzNode.lzs";
$4.lineno = 1841;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.options === this["constructor"].prototype.options) {
this.options = ($4.lineno = 1846, new LzInheritedHash(this.options))
};
for (var key_$1 in hash_$0) {
this.options[key_$1] = hash_$0[key_$1]
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_options";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1841;
return $lzsc$temp
})(), "getOption", (function () {
var $lzsc$temp = function (key_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["key", key_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzNode.lzs";
$3.lineno = 1868;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return this.options[key_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getOption";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1868;
return $lzsc$temp
})(), "setOption", (function () {
var $lzsc$temp = function (key_$0, val_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["key", key_$0, "val", val_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzNode.lzs";
$4.lineno = 1885;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.options === this["constructor"].prototype.options) {
this.options = ($4.lineno = 1892, new LzInheritedHash(this.options))
};
this.options[key_$0] = val_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setOption";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1885;
return $lzsc$temp
})(), "determinePlacement", (function () {
var $lzsc$temp = function (aSub_$0, placement_$1, args_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["aSub", aSub_$0, "placement", placement_$1, "args", args_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/core/LzNode.lzs";
$6.lineno = 1920;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (placement_$1 == null) {
var p_$3 = null
} else {
var p_$3 = ($6.lineno = 1929, this.searchSubnodes("name", placement_$1))
};
return p_$3 == null ? this : p_$3
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "determinePlacement";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1920;
return $lzsc$temp
})(), "searchImmediateSubnodes", (function () {
var $lzsc$temp = function (prop_$0, val_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["prop", prop_$0, "val", val_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/core/LzNode.lzs";
$7.lineno = 1941;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var s_$2 = this.subnodes;
if (s_$2 == null) return null;
for (var i_$3 = s_$2.length - 1;i_$3 >= 0;i_$3--) {
var si_$4 = s_$2[i_$3];
if (si_$4[prop_$0] == val_$1) {
return si_$4
}};
return null
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "searchImmediateSubnodes";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1941;
return $lzsc$temp
})(), "searchSubnodes", (function () {
var $lzsc$temp = function (prop_$0, val_$1) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["prop", prop_$0, "val", val_$1];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/core/LzNode.lzs";
$a.lineno = 1962;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
var nextS_$2 = this.subnodes ? ($a.lineno = 1963, this.subnodes.concat()) : [];
while (nextS_$2.length > 0) {
var s_$3 = nextS_$2;
nextS_$2 = ($a.lineno = 1967, new Array());
for (var i_$4 = s_$3.length - 1;i_$4 >= 0;i_$4--) {
var si_$5 = s_$3[i_$4];
if (si_$5[prop_$0] == val_$1) {
return si_$5
};
var sis_$6 = si_$5.subnodes;
if (sis_$6) {
for (var j_$7 = sis_$6.length - 1;j_$7 >= 0;j_$7--) {
$a.lineno = 1976, nextS_$2.push(sis_$6[j_$7])
}}}};
return null
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "searchSubnodes";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1962;
return $lzsc$temp
})(), "searchParents", (function () {
var $lzsc$temp = function (prop_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["prop", prop_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzNode.lzs";
$4.lineno = 1993;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var sview_$1 = this;
do {
sview_$1 = sview_$1.immediateparent;
if (sview_$1 == null) {
$4.lineno = 2000, Debug.error("searchParents got null immediateparent", this);
return
};
if (sview_$1[prop_$0] != null) {
return sview_$1
}} while (sview_$1 != canvas)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "searchParents";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1993;
return $lzsc$temp
})(), "getUID", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzNode.lzs";
$2.lineno = 2020;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.__LZUID
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getUID";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2020;
return $lzsc$temp
})(), "childOf", (function () {
var $lzsc$temp = function (node_$0, ignore_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["node", node_$0, "ignore", ignore_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzNode.lzs";
$5.lineno = 2034;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 1:
ignore_$1 = null
};
if (node_$0 == null) {
return false
};
var pv_$2 = this;
while (pv_$2.nodeLevel >= node_$0.nodeLevel) {
if (pv_$2 == node_$0) {
return true
};
pv_$2 = pv_$2.immediateparent
};
return false
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "childOf";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2034;
return $lzsc$temp
})(), "destroy", (function () {
var $lzsc$temp = function () {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = [];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzNode.lzs";
$5.lineno = 2050;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (this.__LZdeleted == true) {
return
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["destroy"] || ($5.lineno = 2055, this.nextMethod(arguments.callee, "destroy"))).call(this);
if (this.subnodes != null) {
for (var i_$0 = this.subnodes.length - 1;i_$0 >= 0;i_$0--) {
$5.lineno = 2060, this.subnodes[i_$0].destroy()
}};
if (this.$lzc$bind_id) {
$5.lineno = 2065, this.$lzc$bind_id.call(null, this, false)
};
if (this.$lzc$bind_name) {
$5.lineno = 2067, this.$lzc$bind_name.call(null, this, false)
};
var parent_$1 = this.parent;
var name_$2 = this.name;
if (parent_$1 != null && name_$2 != null) {
if (parent_$1[name_$2] === this) {
parent_$1[name_$2] = null
};
if (this.immediateparent[name_$2] === this) {
this.immediateparent[name_$2] == null
}};
if (this.__LZdelegates != null) {
for (var i_$0 = this.__LZdelegates.length - 1;i_$0 >= 0;i_$0--) {
$5.lineno = 2083, this.__LZdelegates[i_$0].unregisterAll()
}};
this.__LZdelegates = null;
if (this.immediateparent && this.immediateparent.subnodes) {
for (var i_$0 = this.immediateparent.subnodes.length - 1;i_$0 >= 0;i_$0--) {
if (this.immediateparent.subnodes[i_$0] == this) {
$5.lineno = 2091, this.immediateparent.subnodes.splice(i_$0, 1);
break
}}};
this.data = null
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2050;
return $lzsc$temp
})(), "animate", (function () {
var $lzsc$temp = function (prop_$0, to_$1, duration_$2, isRelative_$3, moreargs_$4) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["prop", prop_$0, "to", to_$1, "duration", duration_$2, "isRelative", isRelative_$3, "moreargs", moreargs_$4];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/core/LzNode.lzs";
$b.lineno = 2132;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
switch (arguments.length) {
case 3:
isRelative_$3 = null;;case 4:
moreargs_$4 = null
};
if (duration_$2 == 0) {
var val_$5 = isRelative_$3 ? this[prop_$0] + to_$1 : to_$1;
{
if (!this.__LZdeleted) {
var $lzsc$1542339424 = "$lzc$set_" + prop_$0;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this[$lzsc$1542339424]) : this[$lzsc$1542339424] instanceof Function) {
this[$lzsc$1542339424](val_$5)
} else {
this[prop_$0] = val_$5;
var $lzsc$54049900 = this["on" + prop_$0];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$54049900) : $lzsc$54049900 instanceof LzEvent) {
if ($lzsc$54049900.ready) {
$lzsc$54049900.sendEvent(val_$5)
}}}}};
return null
};
var args_$6 = {attribute: prop_$0, to: to_$1, duration: duration_$2, start: true, relative: isRelative_$3, target: this};
for (var p_$7 in moreargs_$4) args_$6[p_$7] = moreargs_$4[p_$7];
var animator_$8 = ($b.lineno = 2146, new LzAnimator(null, args_$6));
return animator_$8
}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "animate";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2132;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzNode.lzs";
$2.lineno = 2154;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 2155, this.getDebugIdentification()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2154;
return $lzsc$temp
})(), "getDebugIdentification", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzNode.lzs";
$3.lineno = 2163;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var s_$0 = this["constructor"].tagname;
if (this["name"] != null) {
s_$0 += " name: " + this.name
};
if (this["id"] != null) {
s_$0 += " id: " + this.id
};
return s_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getDebugIdentification";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2163;
return $lzsc$temp
})(), "$lzc$set_$datapath", (function () {
var $lzsc$temp = function (dpobj_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["dpobj", dpobj_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzNode.lzs";
$3.lineno = 2268;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (dpobj_$0 === LzNode._ignoreAttribute) {
return
} else if (!(dpobj_$0 instanceof Object)) {
$3.lineno = 2274, Debug.debug("%s on non-object %w?", arguments.callee, dpobj_$0)
};
$3.lineno = 2277, this.makeChild(dpobj_$0, true)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_$datapath";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2268;
return $lzsc$temp
})(), "acceptTypeValue", (function () {
var $lzsc$temp = function (type_$0, value_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["type", type_$0, "value", value_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzNode.lzs";
$5.lineno = 2302;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var presentationtype_$2 = type_$0 ? LzNode.presentationtypes[type_$0] : null;
if (value_$1 != null) {
if (presentationtype_$2 != null) {
value_$1 = ($5.lineno = 2307, presentationtype_$2.accept(value_$1))
} else {
value_$1 = ($5.lineno = 2309, DefaultPresentationType.accept(value_$1))
}};
return value_$1
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "acceptTypeValue";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2302;
return $lzsc$temp
})(), "acceptAttribute", (function () {
var $lzsc$temp = function (name_$0, type_$1, value_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["name", name_$0, "type", type_$1, "value", value_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzNode.lzs";
$5.lineno = 2324;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
value_$2 = ($5.lineno = 2325, this.acceptTypeValue(type_$1, value_$2));
if (this[name_$0] !== value_$2) {
{
if (!this.__LZdeleted) {
var $lzsc$1821735054 = "$lzc$set_" + name_$0;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this[$lzsc$1821735054]) : this[$lzsc$1821735054] instanceof Function) {
this[$lzsc$1821735054](value_$2)
} else {
this[name_$0] = value_$2;
var $lzsc$1499907310 = this["on" + name_$0];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$1499907310) : $lzsc$1499907310 instanceof LzEvent) {
if ($lzsc$1499907310.ready) {
$lzsc$1499907310.sendEvent(value_$2)
}}}}}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "acceptAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2324;
return $lzsc$temp
})(), "presentTypeValue", (function () {
var $lzsc$temp = function (type_$0, value_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["type", type_$0, "value", value_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/core/LzNode.lzs";
$5.lineno = 2340;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var presentationtype_$2 = LzNode.presentationtypes[type_$0];
if (presentationtype_$2 != null && presentationtype_$2["present"]) {
value_$1 = ($5.lineno = 2343, presentationtype_$2.present(value_$1))
} else {
value_$1 = ($5.lineno = 2346, PresentationType.present(value_$1))
};
return value_$1
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "presentTypeValue";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2340;
return $lzsc$temp
})(), "presentAttribute", (function () {
var $lzsc$temp = function (name_$0, type_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["name", name_$0, "type", type_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzNode.lzs";
$4.lineno = 2361;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return $4.lineno = 2362, this.presentTypeValue(type_$1, this[name_$0])
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "presentAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2361;
return $lzsc$temp
})(), "$lzc$presentAttribute_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1, name_$2, type_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["who", who_$0, "self", self_$1, "name", name_$2, "type", type_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/core/LzNode.lzs";
$6.lineno = 2366;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
return [self_$1, name_$2]
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzc$presentAttribute_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2366;
return $lzsc$temp
})()], ["tagname", "node", "attributes", new LzInheritedHash(), "mergeAttributes", (function () {
var $lzsc$temp = function (attrs_$0, dattrs_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["attrs", attrs_$0, "dattrs", dattrs_$1];
$9.callee = arguments.callee;
$9.filename = "lfc/core/LzNode.lzs";
$9.lineno = 78;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
for (var k_$2 in attrs_$0) {
var attrk_$3 = attrs_$0[k_$2];
if (attrk_$3 === LzNode._ignoreAttribute) {
delete dattrs_$1[k_$2]
} else if (LzInitExpr["$lzsc$isa"] ? ($9.lineno = 92, LzInitExpr.$lzsc$isa(attrk_$3)) : attrk_$3 instanceof LzInitExpr) {
dattrs_$1[k_$2] = attrk_$3
} else {
if (Object["$lzsc$isa"] ? ($9.lineno = 104, Object.$lzsc$isa(attrk_$3)) : attrk_$3 instanceof Object) {
var dattrk_$4 = dattrs_$1[k_$2];
if (Object["$lzsc$isa"] ? ($9.lineno = 106, Object.$lzsc$isa(dattrk_$4)) : dattrk_$4 instanceof Object) {
if ((Array["$lzsc$isa"] ? ($9.lineno = 107, Array.$lzsc$isa(attrk_$3)) : attrk_$3 instanceof Array) && (Array["$lzsc$isa"] ? ($9.lineno = 107, Array.$lzsc$isa(dattrk_$4)) : dattrk_$4 instanceof Array)) {
dattrs_$1[k_$2] = ($9.lineno = 109, attrk_$3.concat(dattrk_$4));
continue
} else if ((attrk_$3.constructor === Object || (LzInheritedHash["$lzsc$isa"] ? ($9.lineno = 111, LzInheritedHash.$lzsc$isa(attrk_$3)) : attrk_$3 instanceof LzInheritedHash)) && (dattrk_$4.constructor === Object || (LzInheritedHash["$lzsc$isa"] ? ($9.lineno = 112, LzInheritedHash.$lzsc$isa(dattrk_$4)) : dattrk_$4 instanceof LzInheritedHash))) {
var tmp_$5 = ($9.lineno = 114, new LzInheritedHash(dattrk_$4));
for (var j_$6 in attrk_$3) {
tmp_$5[j_$6] = attrk_$3[j_$6]
};
dattrs_$1[k_$2] = tmp_$5;
continue
}}};
dattrs_$1[k_$2] = attrk_$3
}}}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "mergeAttributes";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 78;
return $lzsc$temp
})(), "mergeChildren", (function () {
var $lzsc$temp = function (children_$0, superclasschildren_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["children", children_$0, "superclasschildren", superclasschildren_$1];
$4.callee = arguments.callee;
$4.filename = "lfc/core/LzNode.lzs";
$4.lineno = 140;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (Array["$lzsc$isa"] ? ($4.lineno = 141, Array.$lzsc$isa(superclasschildren_$1)) : superclasschildren_$1 instanceof Array) {
children_$0 = ($4.lineno = 142, superclasschildren_$1.concat((Array["$lzsc$isa"] ? ($4.lineno = 142, Array.$lzsc$isa(children_$0)) : children_$0 instanceof Array) ? children_$0 : []))
};
return children_$0
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "mergeChildren";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 140;
return $lzsc$temp
})(), "sourceLocatorTable", {}, "_ignoreAttribute", {toString: (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/core/LzNode.lzs";
$2.lineno = 1007;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "_ignoreAttribute"
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "core/LzNode.lzs#1007/44";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 1007;
return $lzsc$temp
})()}, "__LZdelayedSetters", new LzInheritedHash(), "earlySetters", new LzInheritedHash({name: 1, $events: 2, $delegates: 3, $classrootdepth: 4, $datapath: 5}), "__UIDs", 0, "presentationtypes", {string: StringPresentationType, number: NumberPresentationType, numberExpression: NumberPresentationType, color: ColorPresentationType, "boolean": BooleanPresentationType, inheritableBoolean: BooleanPresentationType, expression: ExpressionPresentationType, size: SizePresentationType}]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/core/LzNode.lzs";
$3.lineno = 35;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzNode.prototype._dbg_name = (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
var nodePath;
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/core/LzNode.lzs";
$4.lineno = 2189;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
nodePath = (function () {
var $lzsc$temp = function (node_$0, limit_$1) {
var $e = Debug;
var $f = $e.backtraceStack;
try {
if ($f) {
var $g = ["node", node_$0, "limit", limit_$1];
$g.callee = arguments.callee;
$g["this"] = this;
$g.filename = "lfc/core/LzNode.lzs";
$g.lineno = 2191;
$f.push($g);
if ($f.length > $f.maxDepth) {
$e.stackOverflow()
}};
switch (arguments.length) {
case 1:
limit_$1 = Infinity
};
if (node_$0 === canvas) {
return ""
};
if (node_$0 === Debug.inspectContext) {
return "."
};
var nid_$2 = node_$0.id;
if (typeof nid_$2 == "string" && ($g.lineno = 2196, globalValue(nid_$2)) === node_$0) {
return "#" + nid_$2
};
var nn_$3 = node_$0.name;
if (typeof nn_$3 == "string" && ($g.lineno = 2201, globalValue(nn_$3)) === node_$0) {
return "#" + nn_$3
};
var parent_$4 = node_$0.immediateparent || node_$0.parent;
var path_$5 = "";
if (parent_$4 != null) {
if (typeof nn_$3 == "string" && parent_$4[nn_$3] === node_$0) {
path_$5 = "@" + nn_$3
} else {
var nct_$6 = node_$0.constructor.tagname;
if (!nct_$6) {
path_$5 = "anonymous"
} else {
path_$5 = nct_$6;
var sn_$7 = parent_$4.subnodes;
var index_$8, count_$9 = 0;
for (var i_$a = 0, len_$b = sn_$7.length;i_$a < len_$b;i_$a++) {
var sibling_$c = sn_$7[i_$a];
if (nct_$6 == sibling_$c.constructor.tagname) {
count_$9++;
if (index_$8) break
};
if (node_$0 === sibling_$c) {
index_$8 = count_$9
}};
if (count_$9 > 1) {
path_$5 += "[" + index_$8 + "]"
}}};
if (path_$5.length >= limit_$1) {
return "\u2026"
};
try {
return ($g.lineno = 2241, nodePath(parent_$4, limit_$1 - path_$5.length - 1)) + "/" + path_$5
}
catch (e_$d) {
return "\u2026/" + path_$5
}};
return path_$5
}
finally {
if ($f) {
$f.length--
}}};
$lzsc$temp["displayName"] = "nodePath";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2191;
return $lzsc$temp
})();
var dn_$0 = ($4.lineno = 2249, nodePath(this, Debug.printLength));
if (dn_$0 != "") {
return dn_$0
};
var ts_$1 = ($4.lineno = 2253, this.toString());
if (ts_$1 == ($4.lineno = 2254, this.getDebugIdentification())) {
return ""
} else {
return ts_$1
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "core/LzNode.lzs#2189/34";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2189;
return $lzsc$temp
})()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "core/LzNode.lzs#35/1";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 35;
return $lzsc$temp
})()(LzNode);
lz[LzNode.tagname] = LzNode;
Class.make("$lzc$class_userClassPlacement", null, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, placement_$1, ignore_$2, ignoremetoo_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "placement", placement_$1, "ignore", ignore_$2, "ignoremetoo", ignoremetoo_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/core/LzNode.lzs";
$6.lineno = 2388;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
placement_$1 = null;;case 2:
ignore_$2 = null;;case 3:
ignoremetoo_$3 = null
};
parent_$0.defaultplacement = placement_$1
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/core/LzNode.lzs";
$lzsc$temp["_dbg_lineno"] = 2388;
return $lzsc$temp
})()], null);
Class.make("LzDelegate", null, ["__delegateID", 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (context_$0, methodName_$1, eventSender_$2, eventName_$3) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["context", context_$0, "methodName", methodName_$1, "eventSender", eventSender_$2, "eventName", eventName_$3];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/events/LaszloEvents.lzs";
$7.lineno = 99;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
switch (arguments.length) {
case 2:
eventSender_$2 = null;;case 3:
eventName_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($7.lineno = 100, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
if (LzEventable["$lzsc$isa"] ? ($7.lineno = 104, LzEventable.$lzsc$isa(context_$0)) : context_$0 instanceof LzEventable) {

} else if (!(Object["$lzsc$isa"] ? ($7.lineno = 106, Object.$lzsc$isa(context_$0)) : context_$0 instanceof Object)) {
$7.lineno = 108, Debug.error("Invalid context: %w (for method %s)", context_$0, methodName_$1);
return
};
this.c = context_$0;
var m_$4 = context_$0[methodName_$1];
if (Function["$lzsc$isa"] ? ($7.lineno = 118, Function.$lzsc$isa(m_$4)) : m_$4 instanceof Function) {
this.m = m_$4;
if (m_$4.length != 1) {
$7.lineno = 122, Debug.warn("Invalid delegate: %s.%s => %w (must accept one argument)", context_$0, methodName_$1, m_$4)
}} else {
$7.lineno = 130, Debug.error("Invalid delegate: %s.%s => %w (must be a Function)", context_$0, methodName_$1, m_$4)
};
if (eventSender_$2 != null) {
$7.lineno = 133, this.register(eventSender_$2, eventName_$3)
};
this.__delegateID = LzDelegate.__nextID++
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 99;
return $lzsc$temp
})(), "c", void 0, "m", void 0, "lastevent", 0, "enabled", true, "event_called", false, "execute", (function () {
var $lzsc$temp = function (eventValue_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["eventValue", eventValue_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/events/LaszloEvents.lzs";
$5.lineno = 168;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var context_$1 = this.c;
if (this.enabled && context_$1) {
if (context_$1["__LZdeleted"]) {
return
};
var m_$2 = this.m;
return m_$2 && ($5.lineno = 179, m_$2.call(context_$1, eventValue_$0))
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "execute";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 168;
return $lzsc$temp
})(), "register", (function () {
var $lzsc$temp = function (eventSender_$0, eventName_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["eventSender", eventSender_$0, "eventName", eventName_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/events/LaszloEvents.lzs";
$5.lineno = 200;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (LzEventable["$lzsc$isa"] ? ($5.lineno = 204, LzEventable.$lzsc$isa(eventSender_$0)) : eventSender_$0 instanceof LzEventable) {

} else if (!(Object["$lzsc$isa"] ? ($5.lineno = 206, Object.$lzsc$isa(eventSender_$0)) : eventSender_$0 instanceof Object)) {
$5.lineno = 208, Debug.error("Invalid event sender: %w (for event %s)", eventSender_$0, eventName_$1);
return
};
if (this.c["__LZdeleted"]) {
return
};
var anEvent_$2 = eventSender_$0[eventName_$1];
if (!(LzEvent["$lzsc$isa"] ? ($5.lineno = 223, LzEvent.$lzsc$isa(anEvent_$2)) : anEvent_$2 instanceof LzEvent)) {
if (anEvent_$2 && !(LzDeclaredEventClass["$lzsc$isa"] ? ($5.lineno = 225, LzDeclaredEventClass.$lzsc$isa(anEvent_$2)) : anEvent_$2 instanceof LzDeclaredEventClass)) {
$5.lineno = 226, Debug.error("Invalid event: %w.%s => %w", eventSender_$0, eventName_$1, anEvent_$2)
};
anEvent_$2 = ($5.lineno = 229, new LzEvent(eventSender_$0, eventName_$1, this))
} else {
$5.lineno = 231, anEvent_$2.addDelegate(this)
};
this[this.lastevent++] = anEvent_$2
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "register";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 200;
return $lzsc$temp
})(), "unregisterAll", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/events/LaszloEvents.lzs";
$3.lineno = 240;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
for (var i_$0 = 0;i_$0 < this.lastevent;i_$0++) {
$3.lineno = 242, this[i_$0].removeDelegate(this);
this[i_$0] = null
};
this.lastevent = 0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "unregisterAll";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 240;
return $lzsc$temp
})(), "unregisterFrom", (function () {
var $lzsc$temp = function (event_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["event", event_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/events/LaszloEvents.lzs";
$7.lineno = 253;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var keep_$1 = [];
for (var i_$2 = 0;i_$2 < this.lastevent;i_$2++) {
var ev_$3 = this[i_$2];
if (ev_$3 === event_$0) {
$7.lineno = 258, ev_$3.removeDelegate(this)
} else {
$7.lineno = 260, keep_$1.push(ev_$3)
};
this[i_$2] = null
};
this.lastevent = 0;
var len_$4 = keep_$1.length;
for (var i_$2 = 0;i_$2 < len_$4;i_$2++) {
this[this.lastevent++] = keep_$1[i_$2]
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "unregisterFrom";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 253;
return $lzsc$temp
})(), "disable", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/events/LaszloEvents.lzs";
$2.lineno = 275;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.enabled = false
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "disable";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 275;
return $lzsc$temp
})(), "enable", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/events/LaszloEvents.lzs";
$2.lineno = 282;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.enabled = true
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "enable";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 282;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/events/LaszloEvents.lzs";
$2.lineno = 325;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "Delegate for " + this.c + " calls " + this.m + " " + this.__delegateID
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 325;
return $lzsc$temp
})()], ["__nextID", 1, "__LZdrainDelegatesQueue", (function () {
var $lzsc$temp = function (evq_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["evq", evq_$0];
$a.callee = arguments.callee;
$a.filename = "lfc/events/LaszloEvents.lzs";
$a.lineno = 290;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
var n_$1 = evq_$0.length;
var i_$2 = 0;
if (i_$2 < n_$1) {
var calledDelegates_$3 = ($a.lineno = 294, new Array());
var lockedEvents_$4 = ($a.lineno = 295, new Array());
while (i_$2 < n_$1) {
var e_$5 = evq_$0[i_$2];
var d_$6 = evq_$0[i_$2 + 1];
var eventValue_$7 = evq_$0[i_$2 + 2];
e_$5.locked = true;
e_$5.ready = false;
$a.lineno = 304, lockedEvents_$4.push(e_$5);
if (!d_$6.event_called) {
d_$6.event_called = true;
$a.lineno = 307, calledDelegates_$3.push(d_$6);
if (d_$6.c && !d_$6.c.__LZdeleted && d_$6.m) {
$a.lineno = 309, d_$6.m.call(d_$6.c, eventValue_$7)
}};
i_$2 += 3
};
while (d_$6 = ($a.lineno = 313, calledDelegates_$3.pop())) {
d_$6.event_called = false
};
while (e_$5 = ($a.lineno = 316, lockedEvents_$4.pop())) {
e_$5.locked = false;
e_$5.ready = e_$5.delegateList.length != 0
}};
evq_$0.length = 0
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "__LZdrainDelegatesQueue";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 290;
return $lzsc$temp
})()]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/events/LaszloEvents.lzs";
$3.lineno = 84;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzDelegate.prototype._dbg_name = (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/events/LaszloEvents.lzs";
$4.lineno = 334;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var name_$0 = ($4.lineno = 335, Debug.formatToString("%0.48w/<handler", this.c));
var ev0_$1 = this[0];
if (ev0_$1) {
name_$0 += ($4.lineno = 338, Debug.formatToString(" name='%s'", ev0_$1._dbg_eventName));
if (ev0_$1._dbg_eventSender !== this.c) {
name_$0 += ($4.lineno = 340, Debug.formatToString(" reference='%w'", ev0_$1._dbg_eventSender))
};
if (($4.lineno = 342, ($4.lineno = 342, Debug.functionName(this.m)).indexOf("$")) != 0) {
name_$0 += ($4.lineno = 343, Debug.formatToString(" method='%w'", this.m))
};
if (this[1]) {
name_$0 += " \u2026"
}};
name_$0 += ">";
return name_$0
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "events/LaszloEvents.lzs#334/36";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 334;
return $lzsc$temp
})()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "events/LaszloEvents.lzs#84/1";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 84;
return $lzsc$temp
})()(LzDelegate);
lz.Delegate = LzDelegate;
Class.make("LzEvent", LzDeclaredEventClass, ["delegateList", null, "_dbg_eventSender", void 0, "_dbg_eventName", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (eventSender_$0, eventName_$1, d_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["eventSender", eventSender_$0, "eventName", eventName_$1, "d", d_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/events/LaszloEvents.lzs";
$6.lineno = 460;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 2:
d_$2 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 461, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
var _evs_$3 = eventSender_$0["_events"];
if (_evs_$3 == null) {
eventSender_$0._events = [this]
} else {
$6.lineno = 466, _evs_$3.push(this)
};
eventSender_$0[eventName_$1] = this;
if (d_$2) {
this.delegateList = [d_$2];
this.ready = true
} else {
this.delegateList = []
};
this._dbg_eventSender = eventSender_$0;
this._dbg_eventName = eventName_$1
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 460;
return $lzsc$temp
})(), "locked", false, "addDelegate", (function () {
var $lzsc$temp = function (d_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["d", d_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/events/LaszloEvents.lzs";
$3.lineno = 499;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.ready = true;
$3.lineno = 501, this.delegateList.push(d_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "addDelegate";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 499;
return $lzsc$temp
})(), "sendEvent", (function () {
var $lzsc$temp = function (eventValue_$0) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["eventValue", eventValue_$0];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/events/LaszloEvents.lzs";
$9.lineno = 513;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
switch (arguments.length) {
case 0:
eventValue_$0 = null
};
if (this.locked || !this.ready) {
return
};
this.locked = true;
this.ready = false;
var dlist_$1 = this.delegateList;
var calledDelegates_$2 = ($9.lineno = 529, new Array());
var d_$3;
for (var i_$4 = dlist_$1.length - 1;i_$4 >= 0;i_$4--) {
d_$3 = dlist_$1[i_$4];
if (d_$3 && d_$3.enabled && !d_$3.event_called) {
d_$3.event_called = true;
$9.lineno = 536, calledDelegates_$2.push(d_$3);
var c_$5 = d_$3.c;
if (c_$5 && !c_$5.__LZdeleted) {
if (c_$5.__LZdeferDelegates) {
var evq_$6 = c_$5.__LZdelegatesQueue;
if (!evq_$6) {
evq_$6 = c_$5.__LZdelegatesQueue = ($9.lineno = 543, new Array())
};
$9.lineno = 544, evq_$6.push(this, d_$3, eventValue_$0)
} else if (d_$3.m) {
$9.lineno = 547, d_$3.m.call(c_$5, eventValue_$0)
}}}};
while (d_$3 = ($9.lineno = 553, calledDelegates_$2.pop())) {
d_$3.event_called = false
};
this.locked = false;
this.ready = dlist_$1.length != 0
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "sendEvent";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 513;
return $lzsc$temp
})(), "removeDelegate", (function () {
var $lzsc$temp = function (d_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["d", d_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/events/LaszloEvents.lzs";
$6.lineno = 577;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
d_$0 = null
};
var dlist_$1 = this.delegateList;
var dll_$2 = dlist_$1.length;
for (var i_$3 = 0;i_$3 < dll_$2;i_$3++) {
if (dlist_$1[i_$3] === d_$0) {
$6.lineno = 582, dlist_$1.splice(i_$3, 1);
break
}};
this.ready = dlist_$1.length != 0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "removeDelegate";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 577;
return $lzsc$temp
})(), "clearDelegates", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/events/LaszloEvents.lzs";
$3.lineno = 593;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var dlist_$0 = this.delegateList;
while (dlist_$0.length) {
$3.lineno = 596, dlist_$0[0].unregisterFrom(this)
};
this.ready = false
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "clearDelegates";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 593;
return $lzsc$temp
})(), "getDelegateCount", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/events/LaszloEvents.lzs";
$2.lineno = 606;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.delegateList.length
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getDelegateCount";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 606;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/events/LaszloEvents.lzs";
$2.lineno = 611;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "LzEvent"
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 611;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/events/LaszloEvents.lzs";
$3.lineno = 441;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzEvent.prototype._dbg_name = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/events/LaszloEvents.lzs";
$2.lineno = 620;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 621, Debug.formatToString("%0.48w/<event name='%s'>", this._dbg_eventSender, this._dbg_eventName)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "events/LaszloEvents.lzs#620/31";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 620;
return $lzsc$temp
})()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "events/LaszloEvents.lzs#441/1";
$lzsc$temp["_dbg_filename"] = "lfc/events/LaszloEvents.lzs";
$lzsc$temp["_dbg_lineno"] = 441;
return $lzsc$temp
})()(LzEvent);
lz.Event = LzEvent;
Class.make("LzKernelUtils", null, null, ["CSSDimension", (function () {
var $lzsc$temp = function (value_$0, units_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["value", value_$0, "units", units_$1];
$5.callee = arguments.callee;
$5.filename = "lfc/kernel/LzKernelUtils.lzs";
$5.lineno = 18;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 1:
units_$1 = "px"
};
var result_$2 = value_$0;
if ($5.lineno = 20, isNaN(value_$0)) {
if (typeof value_$0 == "string" && ($5.lineno = 23, value_$0.indexOf("%")) == value_$0.length - 1 && !($5.lineno = 24, isNaN(($5.lineno = 24, value_$0.substring(0, value_$0.length - 1))))) {
return value_$0
} else {
result_$2 = 0;
$5.lineno = 29, Debug.warn("%w: coerced %w to %w", arguments.callee, value_$0, result_$2)
}} else if (value_$0 === Infinity) {
result_$2 = ~0 >>> 1
} else if (value_$0 === -Infinity) {
result_$2 = ~(~0 >>> 1)
};
return ($5.lineno = 40, Math.round(result_$2)) + units_$1
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "CSSDimension";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/LzKernelUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 18;
return $lzsc$temp
})(), "__rrfactors", null, "getRoundrectFactors", (function () {
var $lzsc$temp = function () {
var $d = Debug;
var $e = $d.backtraceStack;
try {
if ($e) {
var $f = [];
$f.callee = arguments.callee;
$f.filename = "lfc/kernel/LzKernelUtils.lzs";
$f.lineno = 52;
$e.push($f);
if ($e.length > $e.maxDepth) {
$d.stackOverflow()
}};
var theta_$0 = Math.PI / 4;
var theta2_$1 = theta_$0 / 2;
var sqrt2_2_$2 = Math.SQRT2 / 2;
var sinTheta_$3 = sqrt2_2_$2;
var cosTheta_$4 = sqrt2_2_$2;
var sinTheta2_$5 = ($f.lineno = 98, Math.sin(theta2_$1));
var cosTheta2_$6 = ($f.lineno = 99, Math.cos(theta2_$1));
var sinTable_$7 = [0, sqrt2_2_$2, 1, sqrt2_2_$2];
var cosTable_$8 = [1, sqrt2_2_$2, 0, -sqrt2_2_$2];
var factors_$9 = [];
for (var i_$a = 0;i_$a < 4;++i_$a) {
var sin_$b = sinTable_$7[i_$a];
var cos_$c = cosTable_$8[i_$a];
$f.lineno = 111, factors_$9.push((sin_$b * cosTheta2_$6 + cos_$c * sinTheta2_$5) / cosTheta2_$6, (-cos_$c * cosTheta2_$6 + sin_$b * sinTheta2_$5) / cosTheta2_$6, sin_$b * cosTheta_$4 + cos_$c * sinTheta_$3, -cos_$c * cosTheta_$4 + sin_$b * sinTheta_$3)
};
for (var i_$a = 0;i_$a < 4 * 4;++i_$a) {
factors_$9[4 * 4 + i_$a] = -factors_$9[i_$a]
};
return factors_$9
}
finally {
if ($e) {
$e.length--
}}};
$lzsc$temp["displayName"] = "getRoundrectFactors";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/LzKernelUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 52;
return $lzsc$temp
})(), "rect", (function () {
var $lzsc$temp = function (context, x_$0, y_$1, w_$2, h_$3, cornerRadius) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
var drawCorner_$4;
if ($6) {
var $7 = ["context", context, "x", x_$0, "y", y_$1, "w", w_$2, "h", h_$3, "cornerRadius", cornerRadius];
$7.callee = arguments.callee;
$7.filename = "lfc/kernel/LzKernelUtils.lzs";
$7.lineno = 129;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
drawCorner_$4 = (function () {
var $lzsc$temp = function (i_$0, _x_$1, _y_$2) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["i", i_$0, "_x", _x_$1, "_y", _y_$2];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/kernel/LzKernelUtils.lzs";
$9.lineno = 143;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var cx_$3 = _x_$1 + factors[4 * i_$0 + 0] * cornerRadius;
var cy_$4 = _y_$2 + factors[4 * i_$0 + 1] * cornerRadius;
var px_$5 = _x_$1 + factors[4 * i_$0 + 2] * cornerRadius;
var py_$6 = _y_$2 + factors[4 * i_$0 + 3] * cornerRadius;
$9.lineno = 148, context[curvemethod](cx_$3, cy_$4, px_$5, py_$6)
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "drawCorner";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/LzKernelUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 143;
return $lzsc$temp
})();
switch (arguments.length) {
case 5:
cornerRadius = 0
};
if (cornerRadius > 0) {
if (cornerRadius > ($7.lineno = 133, Math.min(w_$2, h_$3)) / 2) {
cornerRadius = ($7.lineno = 134, Math.min(w_$2, h_$3)) / 2
};
var factors = LzKernelUtils.__rrfactors;
if (!factors) {
factors = LzKernelUtils.__rrfactors = ($7.lineno = 139, LzKernelUtils.getRoundrectFactors())
};
var curvemethod = context["curveTo"] ? "curveTo" : "quadraticCurveTo";
$7.lineno = 152, context.moveTo(x_$0 + cornerRadius, y_$1);
$7.lineno = 153, context.lineTo(x_$0 + w_$2 - cornerRadius, y_$1);
$7.lineno = 155, drawCorner_$4(0, x_$0 + w_$2 - cornerRadius, y_$1 + cornerRadius);
$7.lineno = 156, drawCorner_$4(1, x_$0 + w_$2 - cornerRadius, y_$1 + cornerRadius);
$7.lineno = 159, context.lineTo(x_$0 + w_$2, y_$1 + h_$3 - cornerRadius);
$7.lineno = 161, drawCorner_$4(2, x_$0 + w_$2 - cornerRadius, y_$1 + h_$3 - cornerRadius);
$7.lineno = 162, drawCorner_$4(3, x_$0 + w_$2 - cornerRadius, y_$1 + h_$3 - cornerRadius);
$7.lineno = 165, context.lineTo(x_$0 + cornerRadius, y_$1 + h_$3);
$7.lineno = 167, drawCorner_$4(4, x_$0 + cornerRadius, y_$1 + h_$3 - cornerRadius);
$7.lineno = 168, drawCorner_$4(5, x_$0 + cornerRadius, y_$1 + h_$3 - cornerRadius);
$7.lineno = 171, context.lineTo(x_$0, y_$1 + cornerRadius);
$7.lineno = 173, drawCorner_$4(6, x_$0 + cornerRadius, y_$1 + cornerRadius);
$7.lineno = 174, drawCorner_$4(7, x_$0 + cornerRadius, y_$1 + cornerRadius)
} else {
$7.lineno = 177, context.moveTo(x_$0, y_$1);
$7.lineno = 178, context.lineTo(x_$0 + w_$2, y_$1);
$7.lineno = 179, context.lineTo(x_$0 + w_$2, y_$1 + h_$3);
$7.lineno = 180, context.lineTo(x_$0, y_$1 + h_$3);
$7.lineno = 181, context.lineTo(x_$0, y_$1)
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "rect";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/LzKernelUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 129;
return $lzsc$temp
})()]);
var LzIdleKernel = {__callbacks: [], __update: (function () {
var $lzsc$temp = function () {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = [];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/LzIdleKernel.lzs";
$8.lineno = 15;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var kernel_$0 = LzIdleKernel;
var callbacks_$1 = kernel_$0.__callbacks;
var now_$2 = ($8.lineno = 21, LzTimeKernel.getTimer());
for (var i_$3 = callbacks_$1.length - 2;i_$3 >= 0;i_$3 -= 2) {
var scope_$4 = callbacks_$1[i_$3];
var funcname_$5 = callbacks_$1[i_$3 + 1];
$8.lineno = 25, scope_$4[funcname_$5](now_$2)
}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/LzIdleKernel.lzs#15/16";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/LzIdleKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 15;
return $lzsc$temp
})(), __intervalID: null, addCallback: (function () {
var $lzsc$temp = function (scope_$0, funcname_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["scope", scope_$0, "funcname", funcname_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/LzIdleKernel.lzs";
$7.lineno = 29;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var kernel_$2 = LzIdleKernel;
var callbacks_$3 = ($7.lineno = 33, kernel_$2.__callbacks.slice(0));
for (var i_$4 = callbacks_$3.length - 2;i_$4 >= 0;i_$4 -= 2) {
if (callbacks_$3[i_$4] === scope_$0 && callbacks_$3[i_$4 + 1] == funcname_$1) {
return
}};
$7.lineno = 39, callbacks_$3.push(scope_$0, funcname_$1);
kernel_$2.__callbacks = callbacks_$3;
if (callbacks_$3.length > 0 && kernel_$2.__intervalID == null) {
kernel_$2.__intervalID = ($7.lineno = 42, setInterval(LzIdleKernel.__update, 1000 / kernel_$2.__fps))
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/LzIdleKernel.lzs#29/19";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/LzIdleKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 29;
return $lzsc$temp
})(), removeCallback: (function () {
var $lzsc$temp = function (scope_$0, funcname_$1) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["scope", scope_$0, "funcname", funcname_$1];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/LzIdleKernel.lzs";
$8.lineno = 45;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var kernel_$2 = LzIdleKernel;
var callbacks_$3 = ($8.lineno = 49, kernel_$2.__callbacks.slice(0));
for (var i_$4 = callbacks_$3.length - 2;i_$4 >= 0;i_$4 -= 2) {
if (callbacks_$3[i_$4] === scope_$0 && callbacks_$3[i_$4 + 1] == funcname_$1) {
var removed_$5 = ($8.lineno = 54, callbacks_$3.splice(i_$4, 2))
}};
kernel_$2.__callbacks = callbacks_$3;
if (callbacks_$3.length == 0 && kernel_$2.__intervalID != null) {
$8.lineno = 59, clearInterval(kernel_$2.__intervalID);
kernel_$2.__intervalID = null
};
return removed_$5
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/LzIdleKernel.lzs#45/22";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/LzIdleKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 45;
return $lzsc$temp
})(), __fps: 30, setFrameRate: (function () {
var $lzsc$temp = function (fps_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fps", fps_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/LzIdleKernel.lzs";
$3.lineno = 65;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
LzIdleKernel.__fps = fps_$0;
if (LzIdleKernel.__intervalID != null) {
$3.lineno = 68, clearInterval(LzIdleKernel.__intervalID);
LzIdleKernel.__intervalID = ($3.lineno = 69, setInterval(LzIdleKernel.__update, 1000 / fps_$0))
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/LzIdleKernel.lzs#65/20";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/LzIdleKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 65;
return $lzsc$temp
})()};
Class.make("LzLibraryCleanup", LzNode, ["lib", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/LzLibraryCleanup.lzs";
$6.lineno = 24;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 25, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/LzLibraryCleanup.lzs";
$lzsc$temp["_dbg_lineno"] = 24;
return $lzsc$temp
})(), "$lzc$set_libname", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/LzLibraryCleanup.lzs";
$3.lineno = 28;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.lib = ($3.lineno = 29, LzLibrary.findLibrary(val_$0));
$3.lineno = 30, this.lib.loadfinished()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_libname";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/LzLibraryCleanup.lzs";
$lzsc$temp["_dbg_lineno"] = 28;
return $lzsc$temp
})()], ["attributes", new LzInheritedHash(LzNode.attributes)]);
var LzResourceLibrary = {};
var getTimer = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LFC.js";
$2.lineno = 16;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 17, LzTimeKernel.getTimer()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LFC.js#16/20";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LFC.js";
$lzsc$temp["_dbg_lineno"] = 16;
return $lzsc$temp
})();
global = window;
lz.BrowserUtils = {__scopeid: 0, __scopes: [], getcallbackstr: (function () {
var $lzsc$temp = function (scope_$0, name_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["scope", scope_$0, "name", name_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzBrowserUtils.js";
$5.lineno = 23;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var sc_$2 = lz.BrowserUtils.__scopeid++;
if (scope_$0.__callbacks == null) {
scope_$0.__callbacks = {sc: sc_$2}} else {
scope_$0.__callbacks[sc_$2] = sc_$2
};
lz.BrowserUtils.__scopes[sc_$2] = scope_$0;
return "if (lz.BrowserUtils.__scopes[" + sc_$2 + "]) lz.BrowserUtils.__scopes[" + sc_$2 + "]." + name_$1 + ".apply(lz.BrowserUtils.__scopes[" + sc_$2 + "], [])"
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "getcallbackstr";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserUtils.js";
$lzsc$temp["_dbg_lineno"] = 23;
return $lzsc$temp
})(), getcallbackfunc: (function () {
var $lzsc$temp = function (scope_$0, name, args) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["scope", scope_$0, "name", name, "args", args];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzBrowserUtils.js";
$3.lineno = 37;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var sc = lz.BrowserUtils.__scopeid++;
if (scope_$0.__callbacks == null) {
scope_$0.__callbacks = {sc: sc}} else {
scope_$0.__callbacks[sc] = sc
};
lz.BrowserUtils.__scopes[sc] = scope_$0;
return (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzBrowserUtils.js";
$3.lineno = 45;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var s_$0 = lz.BrowserUtils.__scopes[sc];
if (s_$0) return $3.lineno = 47, s_$0[name].apply(s_$0, args)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzBrowserUtils.js#45/16";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserUtils.js";
$lzsc$temp["_dbg_lineno"] = 45;
return $lzsc$temp
})()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getcallbackfunc";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserUtils.js";
$lzsc$temp["_dbg_lineno"] = 37;
return $lzsc$temp
})(), removecallback: (function () {
var $lzsc$temp = function (scope_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["scope", scope_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzBrowserUtils.js";
$5.lineno = 54;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (scope_$0.__callbacks != null) {
for (var i_$1 in scope_$0.__callbacks) {
var sc_$2 = scope_$0.__callbacks[i_$1];
delete lz.BrowserUtils.__scopes[sc_$2]
};
delete scope_$0.__callbacks
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "removecallback";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserUtils.js";
$lzsc$temp["_dbg_lineno"] = 54;
return $lzsc$temp
})(), hasFeature: (function () {
var $lzsc$temp = function (feature_$0, level_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["feature", feature_$0, "level", level_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzBrowserUtils.js";
$4.lineno = 65;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return document.implementation && document.implementation.hasFeature && ($4.lineno = 68, document.implementation.hasFeature(feature_$0, level_$1))
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzBrowserUtils.js#65/18";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserUtils.js";
$lzsc$temp["_dbg_lineno"] = 65;
return $lzsc$temp
})()};
var LzPool = (function () {
var $lzsc$temp = function (getter_$0, cacheHit_$1, destroyer_$2, owner_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["getter", getter_$0, "cacheHit", cacheHit_$1, "destroyer", destroyer_$2, "owner", owner_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/dhtml/LzPool.js";
$6.lineno = 13;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
this.cache = {};
if (typeof getter_$0 == "function") this.getter = getter_$0;
if (typeof cacheHit_$1 == "function") this.cacheHit = cacheHit_$1;
if (typeof destroyer_$2 == "function") this.destroyer = destroyer_$2;
if (owner_$3) this.owner = owner_$3
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzPool.js#13/14";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzPool.js";
$lzsc$temp["_dbg_lineno"] = 13;
return $lzsc$temp
})();
LzPool.prototype.cache = null;
LzPool.prototype.get = (function () {
var $lzsc$temp = function (id_$0, skipcache_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["id", id_$0, "skipcache", skipcache_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/dhtml/LzPool.js";
$6.lineno = 25;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var args_$2 = ($6.lineno = 25, Array.prototype.slice.call(arguments, 2));
var itm_$3 = this.cache[id_$0];
if (skipcache_$1 || itm_$3 == null) {
$6.lineno = 28, args_$2.unshift(id_$0);
itm_$3 = ($6.lineno = 29, this.getter.apply(this, args_$2));
if (!skipcache_$1) this.cache[id_$0] = itm_$3
} else if (this.cacheHit) {
$6.lineno = 32, args_$2.unshift(id_$0, itm_$3);
$6.lineno = 33, this.cacheHit.apply(this, args_$2)
};
if (this.owner) itm_$3.owner = this.owner;
return itm_$3
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzPool.js#25/24";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzPool.js";
$lzsc$temp["_dbg_lineno"] = 25;
return $lzsc$temp
})();
LzPool.prototype.flush = (function () {
var $lzsc$temp = function (id_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["id", id_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzPool.js";
$3.lineno = 39;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.destroyer) $3.lineno = 40, this.destroyer(id_$0, this.cache[id_$0]);
delete this.cache[id_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzPool.js#39/26";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzPool.js";
$lzsc$temp["_dbg_lineno"] = 39;
return $lzsc$temp
})();
LzPool.prototype.destroy = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzPool.js";
$3.lineno = 45;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
for (var id_$0 in this.cache) {
$3.lineno = 47, this.flush(id_$0)
};
this.owner = null;
this.cache = null
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzPool.js#45/28";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzPool.js";
$lzsc$temp["_dbg_lineno"] = 45;
return $lzsc$temp
})();
LzPool.prototype.getter = null;
LzPool.prototype.destroyer = null;
LzPool.prototype.cacheHit = null;
var LzKeyboardKernel = {__downKeysHash: {}, __keyboardEvent: (function () {
var $lzsc$temp = function (e_$0) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["e", e_$0];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$b.lineno = 16;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
if (!e_$0) e_$0 = window.event;
var delta_$1 = {};
var dirty_$2 = false;
var k_$3 = e_$0["keyCode"];
var t_$4 = e_$0.type;
var dh_$5 = LzKeyboardKernel.__downKeysHash;
if (k_$3 >= 0 && k_$3 != 16 && k_$3 != 17 && k_$3 != 18 && k_$3 != 224) {
var s_$6 = ($b.lineno = 27, ($b.lineno = 27, String.fromCharCode(k_$3)).toLowerCase());
if (t_$4 == "keyup") {
if (dh_$5[s_$6] != null) {
delta_$1[s_$6] = false;
dirty_$2 = true
};
dh_$5[s_$6] = null
} else if (t_$4 == "keydown") {
if (dh_$5[s_$6] == null) {
delta_$1[s_$6] = true;
dirty_$2 = true
};
dh_$5[s_$6] = k_$3
}};
if ($b.lineno = 43, LzKeyboardKernel.__updateControlKeys(e_$0, delta_$1)) {
dirty_$2 = true
};
if (dirty_$2) {
var scope_$7 = LzKeyboardKernel.__scope;
var callback_$8 = LzKeyboardKernel.__callback;
if (scope_$7 && scope_$7[callback_$8]) {
$b.lineno = 51, scope_$7[callback_$8](delta_$1, k_$3, "on" + t_$4)
}};
if (k_$3 >= 0) {
if (k_$3 == 9) {
e_$0.cancelBubble = true;
return false
} else if (LzKeyboardKernel.__cancelKeys && (k_$3 == 13 || k_$3 == 0 || k_$3 == 37 || k_$3 == 38 || k_$3 == 39 || k_$3 == 40 || k_$3 == 8)) {
e_$0.cancelBubble = true;
return false
}}}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzKeyboardKernel.js#16/23";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$lzsc$temp["_dbg_lineno"] = 16;
return $lzsc$temp
})(), __updateControlKeys: (function () {
var $lzsc$temp = function (e_$0, delta_$1) {
var $c = Debug;
var $d = $c.backtraceStack;
try {
if ($d) {
var $e = ["e", e_$0, "delta", delta_$1];
$e.callee = arguments.callee;
$e["this"] = this;
$e.filename = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$e.lineno = 71;
$d.push($e);
if ($d.length > $d.maxDepth) {
$c.stackOverflow()
}};
var quirks_$2 = LzSprite.quirks;
var dh_$3 = LzKeyboardKernel.__downKeysHash;
var dirty_$4 = false;
if (delta_$1) {
var send_$5 = false
} else {
delta_$1 = {};
var send_$5 = true
};
var alt_$6 = e_$0["altKey"];
if (dh_$3["alt"] != null != alt_$6) {
dh_$3["alt"] = alt_$6 ? 18 : null;
delta_$1["alt"] = alt_$6;
dirty_$4 = true;
if (quirks_$2["alt_key_sends_control"]) {
delta_$1["control"] = delta_$1["alt"]
}};
var ctrl_$7 = e_$0["ctrlKey"];
if (dh_$3["control"] != null != ctrl_$7) {
dh_$3["control"] = ctrl_$7 ? 17 : null;
delta_$1["control"] = ctrl_$7;
dirty_$4 = true
};
var shift_$8 = e_$0["shiftKey"];
if (dh_$3["shift"] != null != shift_$8) {
dh_$3["shift"] = shift_$8 ? 16 : null;
delta_$1["shift"] = shift_$8;
dirty_$4 = true
};
if (quirks_$2["hasmetakey"]) {
var meta_$9 = e_$0["metaKey"];
if (dh_$3["meta"] != null != meta_$9) {
dh_$3["meta"] = meta_$9 ? 224 : null;
delta_$1["meta"] = meta_$9;
dirty_$4 = true;
delta_$1["control"] = meta_$9
}};
if (dirty_$4 && send_$5) {
var scope_$a = LzKeyboardKernel.__scope;
var callback_$b = LzKeyboardKernel.__callback;
if (scope_$a && scope_$a[callback_$b]) {
$e.lineno = 129, scope_$a[callback_$b](delta_$1, 0, "on" + e_$0.type)
}};
return dirty_$4
}
finally {
if ($d) {
$d.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzKeyboardKernel.js#71/27";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$lzsc$temp["_dbg_lineno"] = 71;
return $lzsc$temp
})(), __allKeysUp: (function () {
var $lzsc$temp = function () {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = [];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$b.lineno = 136;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
var delta_$0 = null;
var stuck_$1 = false;
var keys_$2 = null;
var dh_$3 = LzKeyboardKernel.__downKeysHash;
for (var key_$4 in dh_$3) {
if (dh_$3[key_$4] != null) {
stuck_$1 = true;
if (!delta_$0) {
delta_$0 = {}};
delta_$0[key_$4] = false;
if (key_$4.length == 1) {
if (!keys_$2) {
keys_$2 = []
};
$b.lineno = 148, keys_$2.push(dh_$3[key_$4])
};
dh_$3[key_$4] = null
}};
var scope_$5 = LzKeyboardKernel.__scope;
var callback_$6 = LzKeyboardKernel.__callback;
if (stuck_$1 && scope_$5 && scope_$5[callback_$6]) {
if (!keys_$2) {
$b.lineno = 158, scope_$5[callback_$6](delta_$0, 0, "onkeyup")
} else for (var i_$7 = 0, l_$8 = keys_$2.length;i_$7 < l_$8;i_$7++) {
$b.lineno = 160, scope_$5[callback_$6](delta_$0, keys_$2[i_$7], "onkeyup")
}};
LzKeyboardKernel.__downKeysHash = {}}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzKeyboardKernel.js#136/19";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$lzsc$temp["_dbg_lineno"] = 136;
return $lzsc$temp
})(), __callback: null, __scope: null, __cancelKeys: true, __lockFocus: null, setCallback: (function () {
var $lzsc$temp = function (scope_$0, keyboardcallback_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["scope", scope_$0, "keyboardcallback", keyboardcallback_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$4.lineno = 169;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.__scope = scope_$0;
this.__callback = keyboardcallback_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzKeyboardKernel.js#169/19";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$lzsc$temp["_dbg_lineno"] = 169;
return $lzsc$temp
})(), __lastcontrolscope: null, setKeyboardControl: (function () {
var $lzsc$temp = function (dhtmlKeyboardControl_$0, force_$1) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["dhtmlKeyboardControl", dhtmlKeyboardControl_$0, "force", force_$1];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$8.lineno = 174;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
if (!force_$1 && LzKeyboardKernel.__lockFocus) {
dhtmlKeyboardControl_$0 = true
};
var handler_$2 = null;
var setcontrol_$3 = LzSprite.__rootSprite.options.cancelkeyboardcontrol != true || true;
if (setcontrol_$3 && dhtmlKeyboardControl_$0) {
handler_$2 = LzKeyboardKernel.__keyboardEvent
};
if (LzSprite.quirks.keyboardlistentotop) {
var doc_$4 = window.top.document
} else {
var doc_$4 = document
};
var lastscope_$5 = LzKeyboardKernel.__lastcontrolscope;
if (lastscope_$5 && lastscope_$5 != doc_$4) {
lastscope_$5.onkeydown = lastscope_$5.onkeyup = lastscope_$5.onkeypress = null;
if (handler_$2) {
LzKeyboardKernel.__lastcontrolscope = doc_$4
}};
doc_$4.onkeydown = handler_$2;
doc_$4.onkeyup = handler_$2;
doc_$4.onkeypress = handler_$2
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzKeyboardKernel.js#174/26";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$lzsc$temp["_dbg_lineno"] = 174;
return $lzsc$temp
})(), gotLastFocus: (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$2.lineno = 205;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!LzSprite.__mouseActivationDiv.mouseisover) $2.lineno = 207, LzKeyboardKernel.setKeyboardControl(false)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzKeyboardKernel.js#205/20";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$lzsc$temp["_dbg_lineno"] = 205;
return $lzsc$temp
})(), setGlobalFocusTrap: (function () {
var $lzsc$temp = function (istrapped_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["istrapped", istrapped_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$4.lineno = 210;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
LzKeyboardKernel.__lockFocus = istrapped_$0;
if (LzSprite.quirks.activate_on_mouseover) {
var activationdiv_$1 = LzSprite.__mouseActivationDiv;
if (istrapped_$0) {
$4.lineno = 215, activationdiv_$1.onmouseover()
} else {
$4.lineno = 217, activationdiv_$1.onmouseout()
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzKeyboardKernel.js#210/26";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzKeyboardKernel.js";
$lzsc$temp["_dbg_lineno"] = 210;
return $lzsc$temp
})()};
var LzMouseKernel = {__lastMouseDown: null, __lastMouseOver: null, __x: 0, __y: 0, owner: null, __showncontextmenu: null, __mouseEvent: (function () {
var $lzsc$temp = function (e_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["e", e_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$7.lineno = 23;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (!e_$0) {
e_$0 = window.event
};
var target_$1 = e_$0["target"] ? e_$0.target : e_$0["srcElement"];
var eventname_$2 = "on" + e_$0.type;
if (window["LzKeyboardKernel"] && LzKeyboardKernel["__updateControlKeys"]) {
$7.lineno = 33, LzKeyboardKernel.__updateControlKeys(e_$0)
};
var lzinputproto_$3 = window["LzInputTextSprite"] && LzInputTextSprite.prototype;
if (lzinputproto_$3 && lzinputproto_$3.__lastshown != null) {
if (LzSprite.quirks.fix_ie_clickable) {
$7.lineno = 39, lzinputproto_$3.__hideIfNotFocused(eventname_$2, target_$1)
} else if (eventname_$2 != "onmousemove") {
$7.lineno = 41, lzinputproto_$3.__hideIfNotFocused()
}};
if (eventname_$2 == "onmousemove") {
$7.lineno = 46, LzMouseKernel.__sendMouseMove(e_$0);
if (lzinputproto_$3 && lzinputproto_$3.__lastshown != null) {
if (target_$1 && target_$1.owner && !(target_$1.owner instanceof LzInputTextSprite)) {
if (!($7.lineno = 50, lzinputproto_$3.__lastshown.__isMouseOver())) {
$7.lineno = 51, lzinputproto_$3.__lastshown.__hide()
}}}} else if (eventname_$2 == "oncontextmenu" || e_$0.button == 2) {
$7.lineno = 60, LzMouseKernel.__sendMouseMove(e_$0);
if (LzSprite.prototype.quirks.has_dom2_mouseevents) {
if (eventname_$2 == "oncontextmenu") {
var cmenu_$4 = ($7.lineno = 67, LzMouseKernel.__findContextMenu(e_$0));
if (cmenu_$4 != null) {
return false
} else {
return true
}} else if (eventname_$2 == "onmousedown") {
if (target_$1) {
return $7.lineno = 78, LzMouseKernel.__showContextMenu(e_$0)
}}} else if (eventname_$2 == "oncontextmenu") {
if (target_$1) {
return $7.lineno = 85, LzMouseKernel.__showContextMenu(e_$0)
}}} else {
$7.lineno = 89, LzMouseKernel.__sendEvent(eventname_$2)
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#23/20";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 23;
return $lzsc$temp
})(), __sendEvent: (function () {
var $lzsc$temp = function (eventname_$0, view_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["eventname", eventname_$0, "view", view_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$4.lineno = 95;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (eventname_$0 == "onclick" && view_$1 == null) {
return
};
if (LzMouseKernel.__callback) {
$4.lineno = 102, LzMouseKernel.__scope[LzMouseKernel.__callback](eventname_$0, view_$1)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#95/19";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 95;
return $lzsc$temp
})(), __callback: null, __scope: null, __mouseupEvent: (function () {
var $lzsc$temp = function (e_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["e", e_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$4.lineno = 109;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (LzMouseKernel.__lastMouseDown != null) {
$4.lineno = 113, LzMouseKernel.__lastMouseDown.__globalmouseup(e_$0)
} else {
if (!e_$0) {
e_$0 = window.event
};
var target_$1 = e_$0["target"] ? e_$0.target : e_$0["srcElement"];
if (target_$1 && target_$1.owner !== LzSprite.__rootSprite) return;
$4.lineno = 124, LzMouseKernel.__mouseEvent(e_$0)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#109/22";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 109;
return $lzsc$temp
})(), setCallback: (function () {
var $lzsc$temp = function (scope_$0, funcname_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["scope", scope_$0, "funcname", funcname_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$4.lineno = 127;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.__scope = scope_$0;
this.__callback = funcname_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#127/19";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 127;
return $lzsc$temp
})(), __mousecontrol: false, setMouseControl: (function () {
var $lzsc$temp = function (ison_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["ison", ison_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$5.lineno = 133;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (ison_$0 == LzMouseKernel.__mousecontrol) return;
LzMouseKernel.__mousecontrol = ison_$0;
var lzembed_$1 = lz.embed;
if (ison_$0) {
$5.lineno = 139, lzembed_$1.attachEventHandler(document, "mousemove", LzMouseKernel, "__mouseEvent");
$5.lineno = 140, lzembed_$1.attachEventHandler(document, "mousedown", LzMouseKernel, "__mouseEvent");
$5.lineno = 141, lzembed_$1.attachEventHandler(document, "mouseup", LzMouseKernel, "__mouseupEvent");
$5.lineno = 142, lzembed_$1.attachEventHandler(document, "click", LzMouseKernel, "__mouseEvent");
try {
if (window.top != window) $5.lineno = 145, lzembed_$1.attachEventHandler(window.top.document, "mouseup", LzMouseKernel, "__mouseupEvent")
}
catch (e_$2) {}} else {
$5.lineno = 149, lzembed_$1.removeEventHandler(document, "mousemove", LzMouseKernel, "__mouseEvent");
$5.lineno = 150, lzembed_$1.removeEventHandler(document, "mousedown", LzMouseKernel, "__mouseEvent");
$5.lineno = 151, lzembed_$1.removeEventHandler(document, "mouseup", LzMouseKernel, "__mouseupEvent");
$5.lineno = 152, lzembed_$1.removeEventHandler(document, "click", LzMouseKernel, "__mouseEvent");
try {
if (window.top != window) $5.lineno = 155, lzembed_$1.removeEventHandler(window.top.document, "mouseup", LzMouseKernel, "__mouseupEvent")
}
catch (e_$2) {}};
document.oncontextmenu = ison_$0 ? LzMouseKernel.__mouseEvent : null
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#133/23";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 133;
return $lzsc$temp
})(), __showhand: "pointer", showHandCursor: (function () {
var $lzsc$temp = function (show_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["show", show_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$4.lineno = 168;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var c_$1 = show_$0 == true ? "pointer" : "default";
this.__showhand = c_$1;
$4.lineno = 171, LzMouseKernel.setCursorGlobal(c_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#168/22";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 168;
return $lzsc$temp
})(), setCursorGlobal: (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$3.lineno = 179;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (LzSprite.quirks.no_cursor_colresize) {
return
};
var n_$0 = ($3.lineno = 183, LzSprite.__defaultStyles.hyphenate(n_$0));
$3.lineno = 184, LzSprite.prototype.__setCSSClassProperty(".lzclickdiv", "cursor", n_$0);
$3.lineno = 185, LzSprite.prototype.__setCSSClassProperty(".lzdiv", "cursor", n_$0);
$3.lineno = 186, LzSprite.prototype.__setCSSClassProperty(".lzcanvasdiv", "cursor", n_$0);
$3.lineno = 187, LzSprite.prototype.__setCSSClassProperty(".lzcanvasclickdiv", "cursor", n_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#179/23";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 179;
return $lzsc$temp
})(), restoreCursor: (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$2.lineno = 196;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (LzSprite.quirks.no_cursor_colresize) {
return
};
if (LzMouseKernel.__amLocked) return;
$2.lineno = 201, LzSprite.prototype.__setCSSClassProperty(".lzclickdiv", "cursor", LzMouseKernel.__showhand);
$2.lineno = 202, LzSprite.prototype.__setCSSClassProperty(".lzdiv", "cursor", "default");
$2.lineno = 203, LzSprite.prototype.__setCSSClassProperty(".lzcanvasdiv", "cursor", "default");
$2.lineno = 204, LzSprite.prototype.__setCSSClassProperty(".lzcanvasclickdiv", "cursor", "default")
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#196/21";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 196;
return $lzsc$temp
})(), lock: (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$2.lineno = 211;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
LzMouseKernel.__amLocked = true
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#211/12";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 211;
return $lzsc$temp
})(), unlock: (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$2.lineno = 219;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
LzMouseKernel.__amLocked = false;
$2.lineno = 221, LzMouseKernel.restoreCursor()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#219/14";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 219;
return $lzsc$temp
})(), disableMouseTemporarily: (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$2.lineno = 224;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 225, this.setGlobalClickable(false);
this.__resetonmouseover = true
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#224/31";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 224;
return $lzsc$temp
})(), __resetonmouseover: false, __resetMouse: (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$2.lineno = 229;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.__resetonmouseover) {
this.__resetonmouseover = false;
$2.lineno = 232, this.setGlobalClickable(true)
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#229/20";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 229;
return $lzsc$temp
})(), __globalClickable: true, setGlobalClickable: (function () {
var $lzsc$temp = function (isclickable_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["isclickable", isclickable_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$4.lineno = 236;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (isclickable_$0 == this.__globalClickable) return;
this.__globalClickable = isclickable_$0;
var el_$1 = ($4.lineno = 240, document.getElementById("lzcanvasclickdiv"));
if (LzSprite.quirks.fix_ie_clickable) {
$4.lineno = 242, LzSprite.prototype.__setCSSClassProperty(".lzclickdiv", "display", isclickable_$0 ? "" : "none")
};
if (el_$1) el_$1.style.display = isclickable_$0 ? "" : "none"
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#236/26";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 236;
return $lzsc$temp
})(), __sendMouseMove: (function () {
var $lzsc$temp = function (e_$0, offsetx_$1, offsety_$2) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["e", e_$0, "offsetx", offsetx_$1, "offsety", offsety_$2];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$7.lineno = 246;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (e_$0.pageX || e_$0.pageY) {
LzMouseKernel.__x = e_$0.pageX;
LzMouseKernel.__y = e_$0.pageY
} else if (e_$0.clientX || e_$0.clientY) {
var body_$3 = document.body, docElem_$4 = document.documentElement;
LzMouseKernel.__x = e_$0.clientX + body_$3.scrollLeft + docElem_$4.scrollLeft;
LzMouseKernel.__y = e_$0.clientY + body_$3.scrollTop + docElem_$4.scrollTop
};
if (offsetx_$1) {
LzMouseKernel.__x += offsetx_$1
};
if (offsety_$2) {
LzMouseKernel.__y += offsety_$2
};
if (e_$0.type == "mousemove") {
$7.lineno = 265, LzMouseKernel.__sendEvent("onmousemove")
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#246/23";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 246;
return $lzsc$temp
})(), __showContextMenu: (function () {
var $lzsc$temp = function (e_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["e", e_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$4.lineno = 268;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var cmenu_$1 = ($4.lineno = 270, LzMouseKernel.__findContextMenu(e_$0));
if (cmenu_$1) {
$4.lineno = 272, cmenu_$1.kernel.__show();
return cmenu_$1.kernel.showbuiltins
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#268/25";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 268;
return $lzsc$temp
})(), __findContextMenu: (function () {
var $lzsc$temp = function (e_$0) {
var $g = Debug;
var $h = $g.backtraceStack;
try {
if ($h) {
var $i = ["e", e_$0];
$i.callee = arguments.callee;
$i["this"] = this;
$i.filename = "lfc/kernel/dhtml/LzMouseKernel.js";
$i.lineno = 276;
$h.push($i);
if ($h.length > $h.maxDepth) {
$g.stackOverflow()
}};
var cmenu_$1 = LzSprite.__rootSprite.__contextmenu;
var quirks_$2 = LzSprite.quirks;
if (document.elementFromPoint) {
var swf8mode_$3 = quirks_$2.swf8_contextmenu;
var x_$4 = LzMouseKernel.__x;
var y_$5 = LzMouseKernel.__y;
var rootdiv_$6 = LzSprite.__rootSprite.__LZdiv;
var arr_$7 = [];
if (quirks_$2.fix_contextmenu) {
$i.lineno = 289, arr_$7.push(rootdiv_$6, rootdiv_$6.style.display);
var rootprevZ_$8 = rootdiv_$6.style.zIndex;
rootdiv_$6.style.zIndex = -1000;
var rootclickdiv_$9 = LzSprite.__rootSprite.__LZclickcontainerdiv;
var clickprevZ_$a = rootclickdiv_$9.style.zIndex;
$i.lineno = 296, arr_$7.push(rootclickdiv_$9, rootclickdiv_$9.style.display);
rootclickdiv_$9.style.zIndex = -9999
};
do {
var elem_$b = ($i.lineno = 300, document.elementFromPoint(x_$4, y_$5));
if (!elem_$b) {
break
} else {
var owner_$c = elem_$b.owner;
if (!owner_$c) {

} else if (owner_$c.__contextmenu) {
cmenu_$1 = owner_$c.__contextmenu;
break
} else if (quirks_$2.ie_elementfrompoint && owner_$c.scrolldiv === elem_$b) {

} else if (swf8mode_$3 && (owner_$c.__LZdiv === elem_$b && owner_$c.bgcolor != null || owner_$c instanceof LzTextSprite)) {
break
};
$i.lineno = 321, arr_$7.push(elem_$b, elem_$b.style.display);
elem_$b.style.display = "none"
}} while (elem_$b !== rootdiv_$6 && elem_$b.tagName != "HTML");
for (var i_$d = arr_$7.length - 1;i_$d >= 0;i_$d -= 2) {
arr_$7[i_$d - 1].style.display = arr_$7[i_$d]
};
if (quirks_$2.fix_contextmenu) {
rootdiv_$6.style.zIndex = rootprevZ_$8;
rootclickdiv_$9.style.zIndex = clickprevZ_$a
}} else {
var sprite_$e = (e_$0.srcElement || e_$0.target).owner;
if (sprite_$e) {
while (sprite_$e.__parent) {
if (sprite_$e.__contextmenu) {
var mpos_$f = ($i.lineno = 344, sprite_$e.getMouse());
if (mpos_$f.x >= 0 && mpos_$f.x < sprite_$e.width && mpos_$f.y >= 0 && mpos_$f.y < sprite_$e.height) {
cmenu_$1 = sprite_$e.__contextmenu;
break
}};
sprite_$e = sprite_$e.__parent
}}};
return cmenu_$1
}
finally {
if ($h) {
$h.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzMouseKernel.js#276/25";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzMouseKernel.js";
$lzsc$temp["_dbg_lineno"] = 276;
return $lzsc$temp
})()};
Class.make("LzBrowserKernel", null, null, ["loadURL", (function () {
var $lzsc$temp = function (url_$0, target_$1, features_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["url", url_$0, "target", target_$1, "features", features_$2];
$5.callee = arguments.callee;
$5.filename = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$5.lineno = 24;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 1:
target_$1 = null;;case 2:
features_$2 = null
};
if (target_$1 != null) {
if (features_$2 != null) {
$5.lineno = 27, window.open(url_$0, target_$1, features_$2)
} else {
$5.lineno = 29, window.open(url_$0, target_$1)
}} else {
window.location = url_$0
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "loadURL";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 24;
return $lzsc$temp
})(), "loadJS", (function () {
var $lzsc$temp = function (js_$0, target_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["js", js_$0, "target", target_$1];
$4.callee = arguments.callee;
$4.filename = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$4.lineno = 46;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
$4.lineno = 47, LzBrowserKernel.loadURL("javascript:" + js_$0 + ";void(0);", target_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "loadJS";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 46;
return $lzsc$temp
})(), "callJS", (function () {
var $lzsc$temp = function (methodname_$0, callback_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["methodname", methodname_$0, "callback", callback_$1];
$9.callee = arguments.callee;
$9.filename = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$9.lineno = 59;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var scope_$2 = null;
var method_$3 = ($9.lineno = 62, eval(methodname_$0));
var path_$4 = ($9.lineno = 63, methodname_$0.split("."));
if (path_$4.length > 1) {
$9.lineno = 65, path_$4.pop();
scope_$2 = ($9.lineno = 66, eval(($9.lineno = 66, path_$4.join("."))))
};
var args_$5 = ($9.lineno = 69, Array.prototype.slice.call(arguments, 2));
if (method_$3) {
var ret_$6 = ($9.lineno = 72, method_$3.apply(scope_$2, args_$5))
};
if (callback_$1 && typeof callback_$1 == "function") $9.lineno = 74, callback_$1(ret_$6);
return ret_$6
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "callJS";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 59;
return $lzsc$temp
})(), "setHistory", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$3.lineno = 82;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 84, lz.embed.history.set(n_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setHistory";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 82;
return $lzsc$temp
})(), "callMethod", (function () {
var $lzsc$temp = function (js_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["js", js_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$3.lineno = 91;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 92, eval(js_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "callMethod";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 91;
return $lzsc$temp
})(), "getVersion", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2.filename = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$2.lineno = 98;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return navigator.userAgent
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getVersion";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 98;
return $lzsc$temp
})(), "getOS", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2.filename = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$2.lineno = 105;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return navigator.platform
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getOS";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 105;
return $lzsc$temp
})(), "getLoadURL", (function () {
var $lzsc$temp = function () {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = [];
$8.callee = arguments.callee;
$8.filename = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$8.lineno = 114;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
if (LzSprite.__rootSprite && LzSprite.__rootSprite._url) {
var url_$0 = LzSprite.__rootSprite._url
} else {
var url_$0 = lz.embed.__propcache.url
};
if (!url_$0) url_$0 = ($8.lineno = 122, new String(window.location));
var colon_$1 = ($8.lineno = 123, url_$0.indexOf(":"));
var slash_$2 = ($8.lineno = 124, url_$0.indexOf("/"));
if (colon_$1 > -1) {
if (($8.lineno = 126, url_$0.indexOf("://")) == colon_$1) {
return url_$0
} else if (($8.lineno = 129, url_$0.charAt(colon_$1 + 1)) == "/") {
url_$0 = ($8.lineno = 131, url_$0.substring(0, colon_$1 + 1)) + "/" + ($8.lineno = 131, url_$0.substring(colon_$1 + 1));
return url_$0
} else {
var lzu_$3 = ($8.lineno = 135, new LzURL(($8.lineno = 135, new String(window.location))));
url_$0 = ($8.lineno = 136, url_$0.substring(0, colon_$1 + 1)) + "/" + lzu_$3.path + ($8.lineno = 136, url_$0.substring(colon_$1 + 1));
return url_$0
}} else {
if (slash_$2 == 0) {
return url_$0
} else {
var loc_$4 = ($8.lineno = 145, new String(window.location));
var lastslash_$5 = ($8.lineno = 146, loc_$4.lastIndexOf("/"));
loc_$4 = ($8.lineno = 147, loc_$4.substring(0, lastslash_$5 + 1));
return loc_$4 + url_$0
}}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "getLoadURL";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 114;
return $lzsc$temp
})(), "getInitArg", (function () {
var $lzsc$temp = function (name_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["name", name_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$3.lineno = 162;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return global[name_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getInitArg";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 162;
return $lzsc$temp
})(), "getAppID", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2.filename = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$2.lineno = 171;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return LzSprite.__rootSprite._id
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getAppID";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 171;
return $lzsc$temp
})(), "isAAActive", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2.filename = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$2.lineno = 183;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 185, Debug.warn("LzBrowserKernel.isAAActive not yet fully implemented");
return false
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "isAAActive";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzBrowserKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 183;
return $lzsc$temp
})()]);
var LzSprite = (function () {
var $lzsc$temp = function (owner_$0, isroot_$1) {
var $e = Debug;
var $f = $e.backtraceStack;
try {
if ($f) {
var $g = ["owner", owner_$0, "isroot", isroot_$1];
$g.callee = arguments.callee;
$g["this"] = this;
$g.filename = "lfc/kernel/dhtml/LzSprite.js";
$g.lineno = 15;
$f.push($g);
if ($f.length > $f.maxDepth) {
$e.stackOverflow()
}};
if (owner_$0 == null) return;
this.constructor = arguments.callee;
this.owner = owner_$0;
this.uid = LzSprite.prototype.uid++;
this.aadescriptionDiv = null;
var quirks_$2 = this.quirks;
if (isroot_$1) {
this.isroot = true;
this.__initdone = false;
LzSprite.__rootSprite = this;
var div = ($g.lineno = 27, document.createElement("div"));
div.className = "lzcanvasdiv";
quirks_$2["scrollbar_width"] = ($g.lineno = 30, LzSprite._getScrollbarWidth());
if (quirks_$2.ie6_improve_memory_performance) {
try {
$g.lineno = 33, document.execCommand("BackgroundImageCache", false, true)
}
catch (err_$3) {}};
var p_$4 = lz.embed.__propcache;
var rootcontainer_$5 = LzSprite.__rootSpriteContainer = p_$4.appenddiv;
var appcontainer_$6 = rootcontainer_$5;
rootcontainer_$5.style.margin = 0;
rootcontainer_$5.style.padding = 0;
rootcontainer_$5.style.border = "0 none";
rootcontainer_$5.style.overflow = "hidden";
if (quirks_$2["container_divs_require_overflow"]) {
appcontainer_$6 = ($g.lineno = 53, document.createElement("div"));
appcontainer_$6.className = "lzappoverflow";
$g.lineno = 55, rootcontainer_$5.appendChild(appcontainer_$6);
appcontainer_$6.owner = this;
LzSprite.__rootSpriteOverflowContainer = appcontainer_$6
};
if (quirks_$2.fix_contextmenu) {
var cxdiv_$7 = ($g.lineno = 63, document.createElement("div"));
cxdiv_$7.className = "lzcanvascontextdiv";
cxdiv_$7.id = "lzcanvascontextdiv";
$g.lineno = 66, appcontainer_$6.appendChild(cxdiv_$7);
cxdiv_$7.owner = this;
this.__LZcontextcontainerdiv = cxdiv_$7
};
if (p_$4.bgcolor) {
div.style.backgroundColor = p_$4.bgcolor;
this.bgcolor = p_$4.bgcolor
};
if (p_$4.id) {
this._id = p_$4.id
};
if (p_$4.url) {
this._url = p_$4.url
};
var options_$8 = p_$4.options;
if (options_$8) {
this.options = options_$8
};
LzSprite.blankimage = options_$8.serverroot + LzSprite.blankimage;
if (quirks_$2.use_css_sprites && options_$8.usemastersprite) {
quirks_$2.use_css_master_sprite = options_$8.usemastersprite;
var mastersprite = LzResourceLibrary && LzResourceLibrary.__allcss && LzResourceLibrary.__allcss.path;
if (mastersprite) {
LzSprite.__masterspriteurl = mastersprite;
var masterspriteimg_$9 = ($g.lineno = 98, new Image());
masterspriteimg_$9.src = mastersprite;
masterspriteimg_$9.onerror = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzSprite.js";
$2.lineno = 101;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 102, Debug.warn("Error loading master sprite:", mastersprite)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#101/47";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 101;
return $lzsc$temp
})()
}};
$g.lineno = 109, LzSprite.__defaultStyles.writeCSS(quirks_$2.write_css_with_createstylesheet);
$g.lineno = 111, appcontainer_$6.appendChild(div);
this.__LZdiv = div;
if (quirks_$2.fix_clickable) {
var cdiv_$a = ($g.lineno = 115, document.createElement("div"));
cdiv_$a.className = "lzcanvasclickdiv";
cdiv_$a.id = "lzcanvasclickdiv";
$g.lineno = 118, appcontainer_$6.appendChild(cdiv_$a);
this.__LZclickcontainerdiv = cdiv_$a
};
if (quirks_$2["css_hide_canvas_during_init"]) {
var cssname_$b = "display";
var cssval_$c = "none";
if (quirks_$2["safari_visibility_instead_of_display"]) {
cssname_$b = "visibility";
cssval_$c = "hidden"
};
this.__LZdiv.style[cssname_$b] = cssval_$c;
if (quirks_$2["fix_clickable"]) this.__LZclickcontainerdiv.style[cssname_$b] = cssval_$c;
if (quirks_$2["fix_contextmenu"]) this.__LZcontextcontainerdiv.style[cssname_$b] = cssval_$c
};
if (quirks_$2.activate_on_mouseover) {
div.mouseisover = false;
div.onmouseover = (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 137;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (LzSprite.quirks.keyboardlistentotop_in_frame) {
if (LzSprite.__rootSprite.options.cancelkeyboardcontrol != true) {
LzSprite.quirks.keyboardlistentotop = true;
$3.lineno = 141, LzKeyboardKernel.setKeyboardControl(true)
}};
if (LzSprite.quirks.focus_on_mouseover) {
if (($3.lineno = 145, LzSprite.prototype.getSelectedText()) == "") {
$3.lineno = 146, div.focus()
}};
if (LzInputTextSprite.prototype.__focusedSprite == null) $3.lineno = 149, LzKeyboardKernel.setKeyboardControl(true);
$3.lineno = 150, LzMouseKernel.setMouseControl(true);
this.mouseisover = true
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#137/31";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 137;
return $lzsc$temp
})();
div.onmouseout = (function () {
var $lzsc$temp = function (e_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["e", e_$0];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/kernel/dhtml/LzSprite.js";
$a.lineno = 154;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
if (!e_$0) {
e_$0 = window.event;
var el_$1 = e_$0.toElement
} else {
var el_$1 = e_$0.relatedTarget
};
var quirks_$2 = LzSprite.quirks;
if (quirks_$2.inputtext_anonymous_div) {
try {
el_$1 && el_$1.parentNode
}
catch (e_$0) {
return
}};
var mousein_$3 = false;
if (el_$1) {
var cm_$4 = LzContextMenuKernel.lzcontextmenu;
if (el_$1.owner && ($a.lineno = 176, el_$1.className.indexOf("lz")) == 0) {
mousein_$3 = true
} else if (cm_$4 && (el_$1 === cm_$4 || el_$1.parentNode === cm_$4)) {
mousein_$3 = true
}};
if (mousein_$3) {
var wasClickable_$5 = LzMouseKernel.__globalClickable;
if (quirks_$2.fix_ie_clickable) {
$a.lineno = 187, LzMouseKernel.setGlobalClickable(true)
};
if (quirks_$2.focus_on_mouseover) {
if (LzInputTextSprite.prototype.__lastshown == null) {
if (($a.lineno = 191, LzSprite.prototype.getSelectedText()) == "") {
$a.lineno = 192, div.focus()
}}};
$a.lineno = 196, LzKeyboardKernel.setKeyboardControl(true);
$a.lineno = 197, LzMouseKernel.setMouseControl(true);
$a.lineno = 198, LzMouseKernel.__resetMouse();
this.mouseisover = true;
if (quirks_$2.fix_clickable && !wasClickable_$5 && LzMouseKernel.__globalClickable) {
var target_$6 = e_$0["target"] ? e_$0.target : e_$0["srcElement"];
if (target_$6) {
var owner_$7 = target_$6["owner"];
if (LzSprite["$lzsc$isa"] ? ($a.lineno = 216, LzSprite.$lzsc$isa(owner_$7)) : owner_$7 instanceof LzSprite) {
owner_$7 = owner_$7["owner"]
};
if (LzView["$lzsc$isa"] ? ($a.lineno = 220, LzView.$lzsc$isa(owner_$7)) : owner_$7 instanceof LzView) {
$a.lineno = 221, LzMouseKernel.__sendEvent("onmouseout", owner_$7)
}}}} else {
if (quirks_$2.focus_on_mouseover) {
if (LzInputTextSprite.prototype.__lastshown == null) {
if (($a.lineno = 228, LzSprite.prototype.getSelectedText()) == "") {
$a.lineno = 229, div.blur()
}}};
$a.lineno = 233, LzKeyboardKernel.setKeyboardControl(false);
$a.lineno = 234, LzMouseKernel.setMouseControl(false);
this.mouseisover = false
}}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#154/30";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 154;
return $lzsc$temp
})();
if (LzSprite.quirks.keyboardlistentotop_in_frame) {
window.onfocus = (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 241;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (LzSprite.__rootSprite.options.cancelkeyboardcontrol != true) {
$3.lineno = 243, div.onmouseover()
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#241/34";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 241;
return $lzsc$temp
})()
};
LzSprite.__mouseActivationDiv = div
};
var textsizecache_$d = ($g.lineno = 253, document.createElement("div"));
$g.lineno = 254, lz.embed.__setAttr(textsizecache_$d, "id", "lzTextSizeCache");
$g.lineno = 255, document.body.appendChild(textsizecache_$d)
} else {
this.__LZdiv = ($g.lineno = 257, document.createElement("div"));
this.__LZdiv.className = "lzdiv";
if (quirks_$2.fix_clickable) {
this.__LZclickcontainerdiv = ($g.lineno = 260, document.createElement("div"));
this.__LZclickcontainerdiv.className = "lzdiv"
}};
this.__LZdiv.owner = this;
if (quirks_$2.fix_clickable) {
this.__LZclickcontainerdiv.owner = this
};
if (quirks_$2.ie_leak_prevention) {
this.__sprites[this.uid] = this
}}
finally {
if ($f) {
$f.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#15/16";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 15;
return $lzsc$temp
})();
LzSprite.prototype._dbg_typename = "LzSprite";
LzSprite.prototype._dbg_name = (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/dhtml/LzSprite.js";
$6.lineno = 281;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var div_$0 = this.__LZdiv;
var d_$1 = div_$0;
var x_$2 = 0, y_$3 = 0;
if (d_$1.offsetParent) {
do {
x_$2 += d_$1.offsetLeft;
y_$3 += d_$1.offsetTop
} while (d_$1 = d_$1.offsetParent)
};
return $6.lineno = 293, Debug.formatToString("%w/@sprite [%s x %s]*[1 0 %s, 0 1 %s, 0 0 1]", this.owner.sprite === this ? this.owner : "(orphan)", div_$0.offsetWidth || 0, div_$0.offsetHeight || 0, x_$2 || 0, y_$3 || 0)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#281/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 281;
return $lzsc$temp
})();
LzSprite.__defaultStyles = {lzdiv: {position: "absolute"}, lzclickdiv: {position: "absolute"}, lzcanvasdiv: {position: "absolute"}, lzcanvasclickdiv: {zIndex: 100000, position: "absolute"}, lzcanvascontextdiv: {position: "absolute"}, lzappoverflow: {position: "absolute", overflow: "hidden"}, lztextcontainer: {position: "absolute", paddingTop: "2px", paddingRight: "2px", paddingBottom: "2px", paddingLeft: "2px", cursor: "default"}, lzinputtextcontainer: {position: "absolute", overflow: "hidden", paddingTop: "0px", paddingRight: "3px", paddingBottom: "4px", paddingLeft: "1px"}, lzinputtextcontainer_click: {position: "absolute", paddingTop: "0px", paddingRight: "3px", paddingBottom: "4px", paddingLeft: "1px"}, lzinputtextmultilinecontainer: {position: "absolute", overflow: "hidden", paddingTop: "1px", paddingRight: "3px", paddingBottom: "3px", paddingLeft: "1px"}, lzinputtextmultilinecontainer_click: {position: "absolute", paddingTop: "1px", paddingRight: "3px", paddingBottom: "3px", paddingLeft: "1px"}, lztext: {fontFamily: "Verdana,Vera,sans-serif", fontStyle: "normal", fontWeight: "normal", fontSize: "11px", whiteSpace: "normal", position: "absolute", textAlign: "left", textIndent: "0px", letterSpacing: "0px", textDecoration: "none"}, lzswftext: {fontFamily: "Verdana,Vera,sans-serif", fontStyle: "normal", fontWeight: "normal", fontSize: "11px", whiteSpace: "normal", position: "absolute", lineHeight: "1.2em", textAlign: "left", textIndent: "0px", letterSpacing: "0px", textDecoration: "none", wordWrap: "break-word", MsWordBreak: "break-all"}, lzinputtext: {fontFamily: "Verdana,Vera,sans-serif", fontStyle: "normal", fontWeight: "normal", fontSize: "11px", width: "100%", height: "100%", borderWidth: 0, backgroundColor: "transparent", position: "absolute", textAlign: "left", textIndent: "0px", letterSpacing: "0px", textDecoration: "none"}, lzswfinputtext: {fontFamily: "Verdana,Vera,sans-serif", fontStyle: "normal", fontWeight: "normal", fontSize: "11px", width: "100%", height: "100%", borderWidth: 0, backgroundColor: "transparent", position: "absolute", lineHeight: "1.2em", textAlign: "left", textIndent: "0px", letterSpacing: "0px", textDecoration: "none", wordWrap: "break-word", MsWordBreak: "break-all", outline: "none", resize: "none"}, lzswfinputtextmultiline: {fontFamily: "Verdana,Vera,sans-serif", fontStyle: "normal", fontWeight: "normal", fontSize: "11px", width: "100%", height: "100%", borderWidth: 0, backgroundColor: "transparent", position: "absolute", overflow: "hidden", lineHeight: "1.2em", textAlign: "left", textIndent: "0px", letterSpacing: "0px", textDecoration: "none", wordWrap: "break-word", MsWordBreak: "break-all", outline: "none", resize: "none"}, lztextlink: {cursor: "pointer"}, lzaccessibilitydiv: {display: "none"}, lzcontext: {position: "absolute"}, lzimg: {position: "absolute", backgroundRepeat: "no-repeat"}, "#lzTextSizeCache": {zoom: 1}, lzgraphicscanvas: {position: "absolute"}, writeCSS: (function () {
var $lzsc$temp = function (isIE_$0) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["isIE", isIE_$0];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/kernel/dhtml/LzSprite.js";
$b.lineno = 487;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
var rules_$1 = [];
var css_$2 = "";
for (var classname_$3 in this) {
if (classname_$3 == "writeCSS" || classname_$3 == "hyphenate" || classname_$3 == "__replace" || classname_$3 == "__re") continue;
css_$2 += ($b.lineno = 495, classname_$3.indexOf("#")) == -1 ? "." : "";
css_$2 += classname_$3 + "{";
for (var n_$4 in this[classname_$3]) {
var v_$5 = this[classname_$3][n_$4];
css_$2 += ($b.lineno = 499, this.hyphenate(n_$4)) + ":" + v_$5 + ";"
};
css_$2 += "}"
};
css_$2 += ($b.lineno = 503, LzFontManager.generateCSS());
if (isIE_$0) {
if (!document.styleSheets["lzstyles"]) {
var ss_$6 = ($b.lineno = 506, document.createStyleSheet());
ss_$6.owningElement.id = "lzstyles";
ss_$6.cssText = css_$2
}} else {
var o_$7 = ($b.lineno = 511, document.createElement("style"));
$b.lineno = 512, lz.embed.__setAttr(o_$7, "type", "text/css");
$b.lineno = 513, o_$7.appendChild(($b.lineno = 513, document.createTextNode(css_$2)));
var heads_$8 = ($b.lineno = 514, document.getElementsByTagName("head"));
$b.lineno = 515, heads_$8[0].appendChild(o_$7)
}}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#487/15";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 487;
return $lzsc$temp
})(), __re: new RegExp("[A-Z]", "g"), hyphenate: (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 519;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 520, n_$0.replace(this.__re, this.__replace)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#519/16";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 519;
return $lzsc$temp
})(), __replace: (function () {
var $lzsc$temp = function (found_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["found", found_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 522;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return "-" + ($3.lineno = 523, found_$0.toLowerCase())
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#522/16";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 522;
return $lzsc$temp
})()};
LzSprite.prototype.uid = 0;
LzSprite.quirks = {fix_clickable: true, fix_ie_background_height: false, fix_ie_clickable: false, ie_alpha_image_loader: false, ie_leak_prevention: false, prevent_selection: false, ie_elementfrompoint: false, invisible_parent_image_sizing_fix: false, emulate_flash_font_metrics: true, inner_html_strips_newlines: true, inner_html_no_entity_apos: false, css_hide_canvas_during_init: true, firefox_autocomplete_bug: false, hand_pointer_for_clickable: true, alt_key_sends_control: false, safari_textarea_subtract_scrollbar_height: false, no_cursor_colresize: false, safari_visibility_instead_of_display: false, preload_images_only_once: false, absolute_position_accounts_for_offset: false, canvas_div_cannot_be_clipped: false, inputtext_parents_cannot_contain_clip: false, set_height_for_multiline_inputtext: false, ie_opacity: false, text_measurement_use_insertadjacenthtml: false, text_content_use_inner_text: false, text_selection_use_range: false, document_size_use_offsetheight: false, text_ie_carriagereturn: false, ie_paste_event: false, safari_paste_event: false, text_event_charcode: true, keypress_function_keys: true, ie_timer_closure: false, keyboardlistentotop: false, document_size_compute_correct_height: false, ie_mouse_events: false, activate_on_mouseover: true, ie6_improve_memory_performance: false, text_height_includes_padding: false, inputtext_size_includes_margin: false, listen_for_mouseover_out: true, focus_on_mouseover: true, textstyle_on_textdiv: false, textdeco_on_textdiv: false, use_css_sprites: true, preload_images: true, scrollbar_width: 15, inputtext_strips_newlines: false, swf8_contextmenu: true, inputtext_anonymous_div: false, clipped_scrollbar_causes_display_turd: false, hasmetakey: true, textgrabsinputtextfocus: false, input_highlight_bug: false, autoscroll_textarea: false, fix_contextmenu: true, size_blank_to_zero: true, has_dom2_mouseevents: false, container_divs_require_overflow: false, fix_ie_css_syntax: false, match_swf_letter_spacing: false, use_css_master_sprite: false, write_css_with_createstylesheet: false, inputtext_use_background_image: false, keyboardlistentotop_in_frame: false};
LzSprite.prototype.capabilities = {rotation: false, scalecanvastopercentage: false, readcanvassizefromsprite: true, opacity: true, colortransform: false, audio: false, accessibility: true, htmlinputtext: false, advancedfonts: false, bitmapcaching: false, persistence: false, clickmasking: false, minimize_opacity_changes: false, history: true, runtimemenus: false, setclipboard: false, proxypolicy: false, linescrolling: false, allowfullscreen: false, setid: true, globalfocustrap: false, "2dcanvas": true, dropshadows: false, cornerradius: false, rgba: false, css2boxmodel: true};
LzSprite.__updateQuirks = (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/dhtml/LzSprite.js";
$6.lineno = 646;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var quirks_$0 = LzSprite.quirks;
var capabilities_$1 = LzSprite.prototype.capabilities;
var defaultStyles_$2 = LzSprite.__defaultStyles;
if (window["lz"] && lz.embed && lz.embed.browser) {
var browser_$3 = lz.embed.browser;
if (browser_$3.isIE) {
if (browser_$3.version < 7) {
quirks_$0["ie_alpha_image_loader"] = true;
quirks_$0["document_size_compute_correct_height"] = true;
quirks_$0["ie6_improve_memory_performance"] = true
} else {
quirks_$0["prevent_selection"] = true;
quirks_$0["invisible_parent_image_sizing_fix"] = true;
if (browser_$3.osversion >= 6) {
quirks_$0["ie_alpha_image_loader"] = true
}};
quirks_$0["ie_opacity"] = true;
quirks_$0["ie_timer_closure"] = true;
quirks_$0["ie_leak_prevention"] = true;
quirks_$0["fix_ie_clickable"] = true;
quirks_$0["fix_ie_background_height"] = true;
quirks_$0["inner_html_no_entity_apos"] = true;
capabilities_$1["minimize_opacity_changes"] = true;
quirks_$0["set_height_for_multiline_inputtext"] = true;
quirks_$0["text_measurement_use_insertadjacenthtml"] = true;
quirks_$0["text_content_use_inner_text"] = true;
quirks_$0["text_selection_use_range"] = true;
quirks_$0["text_ie_carriagereturn"] = true;
quirks_$0["ie_paste_event"] = true;
quirks_$0["keypress_function_keys"] = false;
quirks_$0["text_event_charcode"] = false;
quirks_$0["ie_mouse_events"] = true;
quirks_$0["inputtext_size_includes_margin"] = true;
quirks_$0["focus_on_mouseover"] = false;
quirks_$0["textstyle_on_textdiv"] = true;
quirks_$0["use_css_sprites"] = !quirks_$0["ie_alpha_image_loader"];
quirks_$0["textgrabsinputtextfocus"] = true;
quirks_$0["ie_elementfrompoint"] = true;
quirks_$0["fix_ie_css_syntax"] = true;
quirks_$0["write_css_with_createstylesheet"] = true;
quirks_$0["hasmetakey"] = false;
quirks_$0["inputtext_use_background_image"] = true
} else if (browser_$3.isSafari || browser_$3.isChrome) {
quirks_$0["safari_visibility_instead_of_display"] = true;
quirks_$0["absolute_position_accounts_for_offset"] = true;
if (browser_$3.version < 525.18) {
quirks_$0["canvas_div_cannot_be_clipped"] = true;
quirks_$0["invisible_parent_image_sizing_fix"] = true;
quirks_$0["safari_textarea_subtract_scrollbar_height"] = true
};
quirks_$0["document_size_use_offsetheight"] = true;
if (browser_$3.version > 523.1) {
capabilities_$1["rotation"] = true;
defaultStyles_$2.lzdiv.WebkitTransformOrigin = "0 0";
capabilities_$1["dropshadows"] = true;
capabilities_$1["cornerradius"] = true;
capabilities_$1["rgba"] = true
};
quirks_$0["safari_paste_event"] = true;
quirks_$0["keypress_function_keys"] = false;
if (browser_$3.version < 523.15) {
quirks_$0["keyboardlistentotop"] = true
};
if (window.top !== window) {
quirks_$0["keyboardlistentotop_in_frame"] = true
};
if (browser_$3.version >= 530.19) {
capabilities_$1["threedtransform"] = true
};
if (browser_$3.isIphone) {
quirks_$0["canvas_div_cannot_be_clipped"] = true
};
quirks_$0["inputtext_strips_newlines"] = true;
quirks_$0["prevent_selection"] = true;
quirks_$0["container_divs_require_overflow"] = true
} else if (browser_$3.isOpera) {
quirks_$0["invisible_parent_image_sizing_fix"] = true;
quirks_$0["no_cursor_colresize"] = true;
quirks_$0["absolute_position_accounts_for_offset"] = true;
quirks_$0["canvas_div_cannot_be_clipped"] = true;
quirks_$0["document_size_use_offsetheight"] = true;
quirks_$0["text_event_charcode"] = false;
quirks_$0["textdeco_on_textdiv"] = true;
quirks_$0["text_ie_carriagereturn"] = true
} else if (browser_$3.isFirefox) {
quirks_$0["inputtext_anonymous_div"] = true;
if (browser_$3.OS == "Windows") {
quirks_$0["clipped_scrollbar_causes_display_turd"] = true;
quirks_$0["input_highlight_bug"] = true
};
if (browser_$3.version < 2) {
quirks_$0["firefox_autocomplete_bug"] = true
} else if (browser_$3.version < 3) {
defaultStyles_$2.lzswftext.lineHeight = "119%";
defaultStyles_$2.lzswfinputtext.lineHeight = "119%";
defaultStyles_$2.lzswfinputtextmultiline.lineHeight = "119%"
} else if (browser_$3.version < 4) {
if (browser_$3.subversion < 6) {
quirks_$0["text_height_includes_padding"] = true
};
if (browser_$3.version < 3.5) {
quirks_$0["container_divs_require_overflow"] = true
}};
quirks_$0["autoscroll_textarea"] = true;
if (browser_$3.version >= 3.5) {
capabilities_$1["rotation"] = true;
defaultStyles_$2.lzdiv.MozTransformOrigin = "0 0"
};
if (browser_$3.version >= 3.1) {
capabilities_$1["dropshadows"] = true;
capabilities_$1["cornerradius"] = true;
capabilities_$1["rgba"] = true
}};
if (browser_$3.OS == "Mac") {
quirks_$0["detectstuckkeys"] = true;
quirks_$0["alt_key_sends_control"] = true;
quirks_$0["match_swf_letter_spacing"] = true
};
if (quirks_$0["hand_pointer_for_clickable"]) {
defaultStyles_$2.lzclickdiv.cursor = "pointer"
};
if (quirks_$0["inner_html_strips_newlines"] == true) {
LzSprite.prototype.inner_html_strips_newlines_re = ($6.lineno = 877, RegExp("$", "mg"))
};
if (browser_$3.isFirefox) {
defaultStyles_$2.lzimg["MozUserSelect"] = "none"
} else if (browser_$3.isSafari) {
defaultStyles_$2.lzimg["WebkitUserSelect"] = "none"
} else {
defaultStyles_$2.lzimg["UserSelect"] = "none"
};
if (quirks_$0["inputtext_use_background_image"]) {
defaultStyles_$2.lzinputtext["background"] = defaultStyles_$2.lzswfinputtext["background"] = defaultStyles_$2.lzswfinputtextmultiline["background"] = "url(" + LzSprite.blankimage + ")"
};
LzSprite.prototype.br_to_newline_re = ($6.lineno = 894, RegExp("<br/>", "mg"));
if ($6.lineno = 896, lz.BrowserUtils.hasFeature("mouseevents", "2.0")) {
quirks_$0["has_dom2_mouseevents"] = true
};
if (quirks_$0["match_swf_letter_spacing"]) {
defaultStyles_$2.lzswftext.letterSpacing = defaultStyles_$2.lzswfinputtext.letterSpacing = defaultStyles_$2.lzswfinputtextmultiline.letterSpacing = "0.025em"
}};
LzSprite.prototype.quirks = quirks_$0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#646/27";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 646;
return $lzsc$temp
})();
LzSprite._getScrollbarWidth = (function () {
var $lzsc$temp = function () {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = [];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/dhtml/LzSprite.js";
$7.lineno = 909;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var div_$0 = ($7.lineno = 911, document.createElement("div"));
div_$0.style.width = "50px";
div_$0.style.height = "50px";
div_$0.style.overflow = "hidden";
div_$0.style.position = "absolute";
div_$0.style.top = "-200px";
div_$0.style.left = "-200px";
var div2_$1 = ($7.lineno = 919, document.createElement("div"));
div2_$1.style.height = "100px";
$7.lineno = 921, div_$0.appendChild(div2_$1);
var body_$2 = document.body;
$7.lineno = 924, body_$2.appendChild(div_$0);
var w1_$3 = div_$0.clientWidth;
div_$0.style.overflowY = "scroll";
var w2_$4 = div_$0.clientWidth;
$7.lineno = 931, LzSprite.prototype.__discardElement(div_$0);
return w1_$3 - w2_$4
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#909/31";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 909;
return $lzsc$temp
})();
LzSprite.__updateQuirks();
LzSprite.setRootX = (function () {
var $lzsc$temp = function (v_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["v", v_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 946;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var rootcontainer_$1 = LzSprite.__rootSpriteContainer;
rootcontainer_$1.style.position = "absolute";
rootcontainer_$1.style.left = ($4.lineno = 949, LzSprite.prototype.CSSDimension(v_$0));
$4.lineno = 951, LzScreenKernel.__resizeEvent()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#946/21";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 946;
return $lzsc$temp
})();
LzSprite.setRootWidth = (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 960;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
LzSprite.__rootSpriteContainer.style.width = ($3.lineno = 961, LzSprite.prototype.CSSDimension(v_$0));
$3.lineno = 963, LzScreenKernel.__resizeEvent()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#960/25";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 960;
return $lzsc$temp
})();
LzSprite.setRootY = (function () {
var $lzsc$temp = function (v_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["v", v_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 972;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var rootcontainer_$1 = LzSprite.__rootSpriteContainer;
rootcontainer_$1.style.position = "absolute";
rootcontainer_$1.style.top = ($4.lineno = 975, LzSprite.prototype.CSSDimension(v_$0));
$4.lineno = 977, LzScreenKernel.__resizeEvent()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#972/21";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 972;
return $lzsc$temp
})();
LzSprite.setRootHeight = (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 986;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
LzSprite.__rootSpriteContainer.style.height = ($3.lineno = 987, LzSprite.prototype.CSSDimension(v_$0));
$3.lineno = 989, LzScreenKernel.__resizeEvent()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#986/26";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 986;
return $lzsc$temp
})();
LzSprite.prototype.__LZdiv = null;
LzSprite.prototype.__LZimg = null;
LzSprite.prototype.__LZclick = null;
LzSprite.prototype.x = null;
LzSprite.prototype.y = null;
LzSprite.prototype.opacity = null;
LzSprite.prototype.width = null;
LzSprite.prototype.height = null;
LzSprite.prototype.playing = false;
LzSprite.prototype.clickable = false;
LzSprite.prototype.frame = 1;
LzSprite.prototype.frames = null;
LzSprite.blankimage = "lps/includes/blank.gif";
LzSprite.prototype.resource = null;
LzSprite.prototype.source = null;
LzSprite.prototype.visible = null;
LzSprite.prototype.text = null;
LzSprite.prototype.clip = null;
LzSprite.prototype.stretches = null;
LzSprite.prototype.resourceWidth = null;
LzSprite.prototype.resourceHeight = null;
LzSprite.prototype.cursor = null;
LzSprite.prototype._w = "0pt";
LzSprite.prototype._h = "0pt";
LzSprite.prototype.__LZcontext = null;
LzSprite.prototype.init = (function () {
var $lzsc$temp = function (v_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["v", v_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 1039;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
$4.lineno = 1041, this.setVisible(v_$0);
if (this.isroot) {
if (this.quirks["css_hide_canvas_during_init"]) {
var cssname_$1 = "display";
if (this.quirks["safari_visibility_instead_of_display"]) {
cssname_$1 = "visibility"
};
this.__LZdiv.style[cssname_$1] = "";
if (this.quirks["fix_clickable"]) this.__LZclickcontainerdiv.style[cssname_$1] = "";
if (this.quirks["fix_contextmenu"]) this.__LZcontextcontainerdiv.style[cssname_$1] = ""
};
if (this._id) {
$4.lineno = 1055, lz.embed[this._id]._ready(this.owner)
};
this.__initdone = true
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1039/27";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1039;
return $lzsc$temp
})();
LzSprite.prototype.__topZ = 1;
LzSprite.prototype.__parent = null;
LzSprite.prototype.__children = null;
LzSprite.prototype.addChildSprite = (function () {
var $lzsc$temp = function (sprite_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sprite", sprite_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1074;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (sprite_$0.__parent != null) return;
if (this.stretches != null && this.__warnstretches != true) {
$3.lineno = 1079, Debug.warn("Due to limitations in the DHTML runtime, stretches will only apply to resources in this view, and doesn't affect child views.");
this.__warnstretches = true
};
if (this.color != null && this.__warncolorcascade != true) {
$3.lineno = 1083, Debug.warn("Due to limitations in the DHTML runtime, color will only apply to resources in this view, and doesn't affect child views.");
this.__warncolorcascade = true
};
sprite_$0.__parent = this;
if (this.__children) {
$3.lineno = 1090, this.__children.push(sprite_$0)
} else {
this.__children = [sprite_$0]
};
$3.lineno = 1095, this.__LZdiv.appendChild(sprite_$0.__LZdiv);
if (this.quirks.fix_clickable) {
$3.lineno = 1097, this.__LZclickcontainerdiv.appendChild(sprite_$0.__LZclickcontainerdiv)
};
$3.lineno = 1100, sprite_$0.__setZ(++this.__topZ)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1074/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1074;
return $lzsc$temp
})();
LzSprite.prototype.setResource = (function () {
var $lzsc$temp = function (r_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["r", r_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzSprite.js";
$5.lineno = 1103;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (this.resource == r_$0) return;
this.resource = r_$0;
if (($5.lineno = 1106, r_$0.indexOf("http:")) == 0 || ($5.lineno = 1106, r_$0.indexOf("https:")) == 0) {
this.skiponload = false;
$5.lineno = 1108, this.setSource(r_$0);
return
};
var res_$1 = LzResourceLibrary[r_$0];
if (res_$1) {
this.resourceWidth = res_$1.width;
this.resourceHeight = res_$1.height;
if (this.quirks.use_css_sprites) {
if (this.quirks.use_css_master_sprite && res_$1.spriteoffset) {
this.__csssprite = LzSprite.__masterspriteurl;
this.__cssspriteoffset = res_$1.spriteoffset
} else if (res_$1.sprite) {
this.__csssprite = ($5.lineno = 1121, this.getBaseUrl(res_$1)) + res_$1.sprite;
this.__cssspriteoffset = 0
}} else {
this.__csssprite = null;
if (this.__bgimage) $5.lineno = 1126, this.__setBGImage(null)
}};
var urls_$2 = ($5.lineno = 1130, this.getResourceUrls(r_$0));
$5.lineno = 1131, this.owner.resourceevent("totalframes", urls_$2.length);
this.frames = urls_$2;
if (this.quirks.preload_images && !(this.stretches == null && this.__csssprite)) {
$5.lineno = 1135, this.__preloadFrames()
};
this.skiponload = true;
$5.lineno = 1139, this.setSource(urls_$2[0], true)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1103/34";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1103;
return $lzsc$temp
})();
LzSprite.prototype.getResourceUrls = (function () {
var $lzsc$temp = function (resourcename_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["resourcename", resourcename_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/dhtml/LzSprite.js";
$7.lineno = 1145;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var urls_$1 = [];
var res_$2 = LzResourceLibrary[resourcename_$0];
if (!res_$2) {
$7.lineno = 1153, Debug.warn("Could not find resource named %#s", resourcename_$0);
return urls_$1
};
var baseurl_$3 = ($7.lineno = 1158, this.getBaseUrl(res_$2));
for (var i_$4 = 0;i_$4 < res_$2.frames.length;i_$4++) {
urls_$1[i_$4] = baseurl_$3 + res_$2.frames[i_$4]
};
return urls_$1
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1145/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1145;
return $lzsc$temp
})();
LzSprite.prototype.getBaseUrl = (function () {
var $lzsc$temp = function (resource_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["resource", resource_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1165;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return LzSprite.__rootSprite.options[resource_$0.ptype == "sr" ? "serverroot" : "approot"]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1165/33";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1165;
return $lzsc$temp
})();
LzSprite.prototype.CSSDimension = LzKernelUtils.CSSDimension;
LzSprite.prototype.loading = false;
LzSprite.prototype.setSource = (function () {
var $lzsc$temp = function (url_$0, usecache_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["url", url_$0, "usecache", usecache_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/dhtml/LzSprite.js";
$6.lineno = 1176;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (url_$0 == null || url_$0 == "null") {
$6.lineno = 1178, this.unload();
return
};
if (this.quirks.size_blank_to_zero) {
if (this.__sizedtozero && url_$0 != null) {
$6.lineno = 1183, this.__restoreSize()
}};
if (usecache_$1 != true) {
this.skiponload = false;
this.resource = url_$0;
if (this.playing) $6.lineno = 1190, this.stop();
$6.lineno = 1191, this.__updateLoadStatus(0);
this.__csssprite = null;
if (this.__bgimage) $6.lineno = 1193, this.__setBGImage(null)
};
if (usecache_$1 == "memorycache") {
usecache_$1 = true
};
if (this.loading) {
if (this.__ImgPool && this.source) {
$6.lineno = 1203, this.__ImgPool.flush(this.source)
};
$6.lineno = 1205, this.__destroyImage(null, this.__LZimg);
this.__LZimg = null
};
this.source = url_$0;
if (this.stretches == null && this.__csssprite) {
if (!this.__LZimg) {
var im_$2 = ($6.lineno = 1215, document.createElement("img"));
im_$2.className = "lzimg";
im_$2.owner = this;
im_$2.src = LzSprite.blankimage;
$6.lineno = 1219, this.__bindImage(im_$2)
};
$6.lineno = 1221, this.__updateStretches();
var imgurl_$3 = this.__csssprite ? this.__csssprite : url_$0;
$6.lineno = 1223, this.__setBGImage(imgurl_$3);
$6.lineno = 1225, this.owner.resourceload({width: this.resourceWidth, height: this.resourceHeight, resource: this.resource, skiponload: this.skiponload});
return
};
if (!this.quirks.preload_images) {
$6.lineno = 1230, this.owner.resourceload({width: this.resourceWidth, height: this.resourceHeight, resource: this.resource, skiponload: this.skiponload})
};
this.loading = true;
if (!this.__ImgPool) {
this.__ImgPool = ($6.lineno = 1235, new LzPool(LzSprite.prototype.__getImage, LzSprite.prototype.__gotImage, LzSprite.prototype.__destroyImage, this))
};
var im_$2 = ($6.lineno = 1237, this.__ImgPool.get(url_$0, usecache_$1 != true));
$6.lineno = 1238, this.__bindImage(im_$2);
if (this.loading) {
if (this.skiponload && this.quirks.ie_alpha_image_loader) $6.lineno = 1247, this.__updateIEAlpha(im_$2)
} else {
if (this.quirks.ie_alpha_image_loader) {
$6.lineno = 1252, this.__updateIEAlpha(im_$2)
} else if (this.stretches) {
$6.lineno = 1254, this.__updateStretches()
}};
if (this.clickable) $6.lineno = 1258, this.setClickable(true)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1176/32";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1176;
return $lzsc$temp
})();
LzSprite.prototype.__bindImage = (function () {
var $lzsc$temp = function (im_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["im", im_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1261;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.__LZimg && this.__LZimg.owner) {
$3.lineno = 1264, this.__LZdiv.replaceChild(im_$0, this.__LZimg);
this.__LZimg = im_$0
} else {
this.__LZimg = im_$0;
$3.lineno = 1268, this.__LZdiv.appendChild(this.__LZimg)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1261/34";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1261;
return $lzsc$temp
})();
LzSprite.prototype.__setBGImage = (function () {
var $lzsc$temp = function (url_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["url", url_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzSprite.js";
$5.lineno = 1272;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var bgurl_$1 = url_$0 ? "url('" + url_$0 + "')" : null;
this.__bgimage = this.__LZimg.style.backgroundImage = bgurl_$1;
if (bgurl_$1 != null) {
var y_$2 = -this.__cssspriteoffset || 0;
this.__LZimg.style.backgroundPosition = "0px " + y_$2 + "px"
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1272/35";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1272;
return $lzsc$temp
})();
if (LzSprite.quirks.ie_alpha_image_loader) {
LzSprite.prototype.__updateIEAlpha = (function () {
var $lzsc$temp = function (who_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["who", who_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzSprite.js";
$5.lineno = 1288;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var w_$1 = this.resourceWidth;
var h_$2 = this.resourceHeight;
if (this.stretches == "both") {
w_$1 = "100%";
h_$2 = "100%"
} else if (this.stretches == "width") {
w_$1 = "100%"
} else if (this.stretches == "height") {
h_$2 = "100%"
};
if (w_$1 == null) w_$1 = this.width == null ? "100%" : ($5.lineno = 1302, this.CSSDimension(this.width));
if (h_$2 == null) h_$2 = this.height == null ? "100%" : ($5.lineno = 1304, this.CSSDimension(this.height));
who_$0.style.width = w_$1;
who_$0.style.height = h_$2
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1288/42";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1288;
return $lzsc$temp
})()
};
LzSprite.prototype.setClickable = (function () {
var $lzsc$temp = function (c_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["c", c_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1311;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
c_$0 = c_$0 == true;
if (this.clickable == c_$0) return;
if (this.__LZimg != null) {
if (this.__LZdiv._clickable) {
$3.lineno = 1317, this.__setClickable(false, this.__LZdiv)
};
if (!this.__LZclick) {
if (this.quirks.fix_ie_clickable) {
this.__LZclick = ($3.lineno = 1321, document.createElement("img"));
this.__LZclick.src = LzSprite.blankimage
} else {
this.__LZclick = ($3.lineno = 1324, document.createElement("div"))
};
this.__LZclick.owner = this;
this.__LZclick.className = "lzclickdiv";
this.__LZclick.style.width = this._w;
this.__LZclick.style.height = this._h;
if (this.quirks.fix_clickable) {
$3.lineno = 1331, this.__LZclickcontainerdiv.appendChild(this.__LZclick)
} else {
$3.lineno = 1333, this.__LZdiv.appendChild(this.__LZclick)
}};
$3.lineno = 1337, this.__setClickable(c_$0, this.__LZclick);
if (this.quirks.fix_clickable) {
if (this.quirks.fix_ie_clickable) {
this.__LZclickcontainerdiv.style.display = c_$0 && this.visible ? "" : "none";
this.__LZclick.style.display = c_$0 && this.visible ? "" : "none"
} else {
this.__LZclick.style.display = c_$0 ? "" : "none"
}}} else {
if (this.quirks.fix_clickable) {
if (!this.__LZclick) {
if (this.quirks.fix_ie_clickable) {
this.__LZclick = ($3.lineno = 1351, document.createElement("img"));
this.__LZclick.src = LzSprite.blankimage
} else {
this.__LZclick = ($3.lineno = 1354, document.createElement("div"))
};
this.__LZclick.owner = this;
this.__LZclick.className = "lzclickdiv";
this.__LZclick.style.width = this._w;
this.__LZclick.style.height = this._h;
$3.lineno = 1362, this.__LZclickcontainerdiv.appendChild(this.__LZclick)
};
$3.lineno = 1364, this.__setClickable(c_$0, this.__LZclick);
if (this.quirks.fix_ie_clickable) {
this.__LZclick.style.display = c_$0 && this.visible ? "" : "none"
} else {
this.__LZclick.style.display = c_$0 ? "" : "none"
}} else {
$3.lineno = 1371, this.__setClickable(c_$0, this.__LZdiv)
}};
this.clickable = c_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1311/35";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1311;
return $lzsc$temp
})();
LzSprite.prototype.__setClickable = (function () {
var $lzsc$temp = function (c_$0, div_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["c", c_$0, "div", div_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzSprite.js";
$5.lineno = 1380;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (div_$1._clickable == c_$0) return;
div_$1._clickable = c_$0;
var f_$2 = c_$0 ? LzSprite.prototype.__clickDispatcher : null;
div_$1.onclick = f_$2;
div_$1.onmousedown = f_$2;
div_$1.onmouseup = f_$2;
div_$1.onmousemove = f_$2;
if (this.quirks.ie_mouse_events) {
div_$1.ondrag = f_$2;
div_$1.ondblclick = f_$2;
div_$1.onmouseover = f_$2;
div_$1.onmouseout = f_$2
} else if (this.quirks.listen_for_mouseover_out) {
div_$1.onmouseover = f_$2;
div_$1.onmouseout = f_$2
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1380/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1380;
return $lzsc$temp
})();
LzSprite.prototype.__clickDispatcher = (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1404;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!e_$0) e_$0 = window.event;
if (e_$0.button == 2) return false;
$3.lineno = 1411, this.owner.__mouseEvent(e_$0);
return false
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1404/40";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1404;
return $lzsc$temp
})();
LzSprite.prototype.__mouseisdown = false;
LzSprite.prototype.__mouseEvent = (function () {
var $lzsc$temp = function (e_$0, artificial_$1) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["e", e_$0, "artificial", artificial_$1];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/kernel/dhtml/LzSprite.js";
$a.lineno = 1425;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
if (artificial_$1) {
var eventname_$2 = e_$0;
e_$0 = {}} else {
var eventname_$2 = "on" + e_$0.type;
if (LzKeyboardKernel && LzKeyboardKernel["__updateControlKeys"]) {
$a.lineno = 1433, LzKeyboardKernel.__updateControlKeys(e_$0);
if (LzKeyboardKernel.__cancelKeys) {
e_$0.cancelBubble = true
}}};
if (this.quirks.ie_mouse_events) {
if (eventname_$2 == "onmouseenter") {
eventname_$2 = "onmouseover"
} else if (eventname_$2 == "onmouseleave") {
eventname_$2 = "onmouseout"
} else if (eventname_$2 == "ondblclick") {
$a.lineno = 1449, this.__mouseEvent("onmousedown", true);
$a.lineno = 1450, this.__mouseEvent("onmouseup", true);
$a.lineno = 1451, this.__mouseEvent("onclick", true);
return
} else if (eventname_$2 == "ondrag") {
return
}};
$a.lineno = 1460, LzMouseKernel.__sendMouseMove(e_$0);
if (eventname_$2 == "onmousemove") {
return
} else if (eventname_$2 == "onmousedown") {
this.__mouseisdown = true;
LzMouseKernel.__lastMouseDown = this;
var focusedsprite_$3 = LzInputTextSprite.prototype.__focusedSprite;
if (focusedsprite_$3 && focusedsprite_$3 != this) {
$a.lineno = 1472, focusedsprite_$3.deselect()
}} else if (eventname_$2 == "onmouseup") {
e_$0.cancelBubble = false;
if (LzMouseKernel.__lastMouseDown !== this) {
return
} else {
if (this.quirks.ie_mouse_events) {
if ($a.lineno = 1485, this.__isMouseOver()) {
this.__mouseisdown = false
}} else {
this.__mouseisdown = false
};
if (this.__mouseisdown == false) {
LzMouseKernel.__lastMouseDown = null
}}} else if (eventname_$2 == "onmouseupoutside") {
this.__mouseisdown = false
} else if (eventname_$2 == "onmouseover") {
LzMouseKernel.__lastMouseOver = this;
if (this.quirks.activate_on_mouseover) {
var activationdiv_$4 = LzSprite.__mouseActivationDiv;
if (!activationdiv_$4.mouseisover) {
$a.lineno = 1504, activationdiv_$4.onmouseover()
}}};
if (this.owner.mouseevent) {
if (LzMouseKernel.__lastMouseDown) {
if (eventname_$2 == "onmouseover" || eventname_$2 == "onmouseout") {
var sendevents_$5 = false;
if (this.quirks.ie_mouse_events) {
var over_$6 = ($a.lineno = 1517, this.__isMouseOver());
if (over_$6 && eventname_$2 == "onmouseover" || !over_$6 && eventname_$2 == "onmouseout") {
sendevents_$5 = true
}} else {
if (LzMouseKernel.__lastMouseDown === this) {
sendevents_$5 = true
}};
if (eventname_$2 == "onmouseover") {
LzMouseKernel.__lastMouseOver = this
} else if (sendevents_$5 && LzMouseKernel.__lastMouseOver === this) {
LzMouseKernel.__lastMouseOver = null
};
if (sendevents_$5) {
$a.lineno = 1536, LzMouseKernel.__sendEvent(eventname_$2, this.owner);
var dragname_$7 = eventname_$2 == "onmouseover" ? "onmousedragin" : "onmousedragout";
$a.lineno = 1538, LzMouseKernel.__sendEvent(dragname_$7, this.owner)
};
return
}};
if (this.quirks.fix_clickable && !LzMouseKernel.__globalClickable) {
if (lz["html"] && this.owner && (lz.html["$lzsc$isa"] ? ($a.lineno = 1558, lz.html.$lzsc$isa(this.owner)) : this.owner instanceof lz.html) && (eventname_$2 == "onmouseout" || eventname_$2 == "onmouseover")) {
return
}};
$a.lineno = 1565, LzMouseKernel.__sendEvent(eventname_$2, this.owner)
}}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1425/35";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1425;
return $lzsc$temp
})();
LzSprite.prototype.__isMouseOver = (function () {
var $lzsc$temp = function (e_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["e", e_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzSprite.js";
$5.lineno = 1569;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var p_$1 = ($5.lineno = 1570, this.getMouse());
var visible_$2 = ($5.lineno = 1572, this.__findParents("visible", false));
if (visible_$2.length) return false;
return p_$1.x >= 0 && p_$1.y >= 0 && p_$1.x < this.width && p_$1.y < this.height
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1569/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1569;
return $lzsc$temp
})();
LzSprite.prototype.__globalmouseup = (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1581;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.__mouseisdown) {
if (!this.quirks.ie_mouse_events) {
$3.lineno = 1585, this.__mouseEvent(e_$0)
};
$3.lineno = 1588, this.__mouseEvent("onmouseupoutside", true)
};
LzMouseKernel.__lastMouseDown = null;
if (LzMouseKernel.__lastMouseOver) {
$3.lineno = 1595, LzMouseKernel.__lastMouseOver.__mouseEvent("onmouseover", true);
LzMouseKernel.__lastMouseOver = null
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1581/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1581;
return $lzsc$temp
})();
LzSprite.prototype.setX = (function () {
var $lzsc$temp = function (x_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["x", x_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1600;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (x_$0 == null || x_$0 == this.x) return;
this.__poscacheid = -1;
this.x = x_$0;
x_$0 = ($3.lineno = 1604, this.CSSDimension(x_$0));
if (this._x != x_$0) {
this._x = x_$0;
this.__LZdiv.style.left = x_$0;
if (this.quirks.fix_clickable) {
this.__LZclickcontainerdiv.style.left = x_$0
};
if (this.quirks.fix_contextmenu && this.__LZcontextcontainerdiv) {
this.__LZcontextcontainerdiv.style.left = x_$0
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1600/27";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1600;
return $lzsc$temp
})();
LzSprite.prototype.setWidth = (function () {
var $lzsc$temp = function (w_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["w", w_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzSprite.js";
$5.lineno = 1617;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (w_$0 == null || w_$0 < 0 || this.width == w_$0) return;
this.width = w_$0;
w_$0 = ($5.lineno = 1622, this.CSSDimension(w_$0));
if (this._w != w_$0) {
this._w = w_$0;
var size_$1 = w_$0;
var quirks_$2 = this.quirks;
if (quirks_$2.size_blank_to_zero) {
if (this.bgcolor == null && this.source == null && !this.clip && !(this instanceof LzTextSprite) && !this.shadow) {
this.__sizedtozero = true;
size_$1 = "0px"
}};
this.__LZdiv.style.width = size_$1;
if (this.clip) $5.lineno = 1635, this.__updateClip();
if (this.stretches) $5.lineno = 1636, this.__updateStretches();
if (this.__LZclick) this.__LZclick.style.width = w_$0;
if (this.__LZcontext) this.__LZcontext.style.width = w_$0;
if (this.__LZcanvas) $5.lineno = 1639, this.__resizecanvas();
if (this.isroot && quirks_$2.container_divs_require_overflow) {
LzSprite.__rootSpriteOverflowContainer.style.width = w_$0
};
return w_$0
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1617/31";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1617;
return $lzsc$temp
})();
LzSprite.prototype.setY = (function () {
var $lzsc$temp = function (y_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["y", y_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1647;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (y_$0 == null || y_$0 == this.y) return;
this.__poscacheid = -1;
this.y = y_$0;
y_$0 = ($3.lineno = 1652, this.CSSDimension(y_$0));
if (this._y != y_$0) {
this._y = y_$0;
this.__LZdiv.style.top = y_$0;
if (this.quirks.fix_clickable) {
this.__LZclickcontainerdiv.style.top = y_$0
};
if (this.quirks.fix_contextmenu && this.__LZcontextcontainerdiv) {
this.__LZcontextcontainerdiv.style.top = y_$0
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1647/27";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1647;
return $lzsc$temp
})();
LzSprite.prototype.setHeight = (function () {
var $lzsc$temp = function (h_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["h", h_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzSprite.js";
$5.lineno = 1665;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (h_$0 == null || h_$0 < 0 || this.height == h_$0) return;
this.height = h_$0;
h_$0 = ($5.lineno = 1670, this.CSSDimension(h_$0));
if (this._h != h_$0) {
this._h = h_$0;
var size_$1 = h_$0;
var quirks_$2 = this.quirks;
if (quirks_$2.size_blank_to_zero) {
if (this.bgcolor == null && this.source == null && !this.clip && !(this instanceof LzTextSprite) && !this.shadow) {
this.__sizedtozero = true;
size_$1 = "0px"
}};
this.__LZdiv.style.height = size_$1;
if (this.clip) $5.lineno = 1683, this.__updateClip();
if (this.stretches) $5.lineno = 1684, this.__updateStretches();
if (this.__LZclick) this.__LZclick.style.height = h_$0;
if (this.__LZcontext) this.__LZcontext.style.height = h_$0;
if (this.__LZcanvas) $5.lineno = 1687, this.__resizecanvas();
if (this.isroot && quirks_$2.container_divs_require_overflow) {
LzSprite.__rootSpriteOverflowContainer.style.height = h_$0
};
return h_$0
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1665/32";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1665;
return $lzsc$temp
})();
LzSprite.prototype.setMaxLength = (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1698;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1698/35";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1698;
return $lzsc$temp
})();
LzSprite.prototype.setPattern = (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1705;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1705/33";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1705;
return $lzsc$temp
})();
LzSprite.prototype.setVisible = (function () {
var $lzsc$temp = function (v_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["v", v_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 1709;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.visible == v_$0) return;
this.visible = v_$0;
this.__LZdiv.style.display = v_$0 && this.opacity != 0 ? "" : "none";
if (this.quirks.fix_clickable) {
if (this.quirks.fix_ie_clickable && this.__LZclick) {
this.__LZclick.style.display = v_$0 && this.clickable ? "" : "none"
};
var vis_$1 = v_$0 ? "" : "none";
this.__LZclickcontainerdiv.style.display = vis_$1;
if (this.quirks.fix_contextmenu && this.__LZcontextcontainerdiv) {
this.__LZcontextcontainerdiv.style.display = vis_$1
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1709/33";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1709;
return $lzsc$temp
})();
LzSprite.prototype.setColor = (function () {
var $lzsc$temp = function (c_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["c", c_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1726;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.color == c_$0) return;
this.color = c_$0;
this.__LZdiv.style.color = ($3.lineno = 1729, LzColorUtils.inttohex(c_$0))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1726/31";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1726;
return $lzsc$temp
})();
LzSprite.prototype.setBGColor = (function () {
var $lzsc$temp = function (c_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["c", c_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1732;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (c_$0 != null && !this.capabilities.rgba) {
c_$0 = ($3.lineno = 1734, Math.floor(c_$0))
};
if (this.bgcolor == c_$0) return;
this.bgcolor = c_$0;
if (this.quirks.size_blank_to_zero) {
if (this.__sizedtozero && c_$0 != null) {
$3.lineno = 1740, this.__restoreSize()
}};
this.__LZdiv.style.backgroundColor = c_$0 == null ? "transparent" : ($3.lineno = 1743, LzColorUtils.torgb(c_$0));
if (this.quirks.fix_ie_background_height) {
if (this.height != null && this.height < 2) {
$3.lineno = 1746, this.setSource(LzSprite.blankimage, true)
} else if (!this._fontSize) {
this.__LZdiv.style.fontSize = "0px"
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1732/33";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1732;
return $lzsc$temp
})();
LzSprite.prototype.__restoreSize = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzSprite.js";
$2.lineno = 1754;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.__sizedtozero) {
this.__sizedtozero = false;
this.__LZdiv.style.width = this._w;
this.__LZdiv.style.height = this._h
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1754/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1754;
return $lzsc$temp
})();
LzSprite.prototype.setOpacity = (function () {
var $lzsc$temp = function (o_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["o", o_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 1763;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.opacity == o_$0 || o_$0 < 0) return;
this.opacity = o_$0;
var factor_$1 = 100;
if (this.capabilities.minimize_opacity_changes) {
factor_$1 = 10
};
o_$0 = ($4.lineno = 1771, parseInt(o_$0 * factor_$1)) / factor_$1;
if (o_$0 != this._opacity) {
this._opacity = o_$0;
this.__LZdiv.style.display = this.visible && o_$0 != 0 ? "" : "none";
if (this.quirks.ie_opacity) {
if (o_$0 == 1) {
this.__LZdiv.style.filter = ""
} else {
this.__LZdiv.style.filter = "alpha(opacity=" + ($4.lineno = 1781, parseInt(o_$0 * 100)) + ")"
}} else {
if (o_$0 == 1) {
this.__LZdiv.style.opacity = ""
} else {
this.__LZdiv.style.opacity = o_$0
}}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1763/33";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1763;
return $lzsc$temp
})();
LzSprite.prototype.play = (function () {
var $lzsc$temp = function (f_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["f", f_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1793;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this.frames || this.frames.length < 2) return;
f_$0 = ($3.lineno = 1795, parseInt(f_$0));
if (!($3.lineno = 1796, isNaN(f_$0))) {
$3.lineno = 1798, this.__setFrame(f_$0)
};
if (this.playing == true) return;
this.playing = true;
$3.lineno = 1802, this.owner.resourceevent("play", null, true);
$3.lineno = 1803, LzIdleKernel.addCallback(this, "__incrementFrame")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1793/27";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1793;
return $lzsc$temp
})();
LzSprite.prototype.stop = (function () {
var $lzsc$temp = function (f_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["f", f_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1806;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this.frames || this.frames.length < 2) return;
if (this.playing == true) {
this.playing = false;
$3.lineno = 1810, this.owner.resourceevent("stop", null, true);
$3.lineno = 1811, LzIdleKernel.removeCallback(this, "__incrementFrame")
};
f_$0 = ($3.lineno = 1813, parseInt(f_$0));
if (!($3.lineno = 1814, isNaN(f_$0))) {
$3.lineno = 1816, this.__setFrame(f_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1806/27";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1806;
return $lzsc$temp
})();
LzSprite.prototype.__incrementFrame = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1823;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var newframe_$0 = this.frame + 1 > this.frames.length ? 1 : this.frame + 1;
$3.lineno = 1826, this.__setFrame(newframe_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1823/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1823;
return $lzsc$temp
})();
if (LzSprite.quirks.preload_images_only_once) {
LzSprite.prototype.__preloadurls = {}};
LzSprite.prototype.__preloadFrames = (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/dhtml/LzSprite.js";
$6.lineno = 1835;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (!this.__ImgPool) {
this.__ImgPool = ($6.lineno = 1837, new LzPool(LzSprite.prototype.__getImage, LzSprite.prototype.__gotImage, LzSprite.prototype.__destroyImage, this))
};
var l_$0 = this.frames.length;
for (var i_$1 = 0;i_$1 < l_$0;i_$1++) {
var src_$2 = this.frames[i_$1];
if (this.quirks.preload_images_only_once) {
if (i_$1 > 0 && LzSprite.prototype.__preloadurls[src_$2]) {
continue
};
LzSprite.prototype.__preloadurls[src_$2] = true
};
var im_$3 = ($6.lineno = 1849, this.__ImgPool.get(src_$2, false, true));
if (this.quirks.ie_alpha_image_loader) {
$6.lineno = 1851, this.__updateIEAlpha(im_$3)
}}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1835/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1835;
return $lzsc$temp
})();
LzSprite.prototype.__findParents = (function () {
var $lzsc$temp = function (prop_$0, value_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["prop", prop_$0, "value", value_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/dhtml/LzSprite.js";
$7.lineno = 1859;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var parents_$2 = [];
var root_$3 = LzSprite.__rootSprite;
var sprite_$4 = this;
while (sprite_$4 && sprite_$4 !== root_$3) {
if (sprite_$4[prop_$0] == value_$1) $7.lineno = 1864, parents_$2.push(sprite_$4);
sprite_$4 = sprite_$4.__parent
};
return parents_$2
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1859/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1859;
return $lzsc$temp
})();
LzSprite.prototype.__imgonload = (function () {
var $lzsc$temp = function (i_$0, cacheHit_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["i", i_$0, "cacheHit", cacheHit_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzSprite.js";
$5.lineno = 1873;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (this.loading != true) return;
if (this.__imgtimoutid != null) {
$5.lineno = 1876, clearTimeout(this.__imgtimoutid);
this.__imgtimoutid = null
};
this.loading = false;
if (!cacheHit_$1) {
if (this.quirks.ie_alpha_image_loader) {
i_$0._parent.style.display = ""
} else {
i_$0.style.display = ""
}};
this.resourceWidth = cacheHit_$1 && i_$0["__LZreswidth"] ? i_$0.__LZreswidth : i_$0.width;
this.resourceHeight = cacheHit_$1 && i_$0["__LZresheight"] ? i_$0.__LZresheight : i_$0.height;
if (!cacheHit_$1) {
if (this.quirks.invisible_parent_image_sizing_fix && this.resourceWidth == 0) {
var f_$2 = (function () {
var $lzsc$temp = function (i_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["i", i_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 1897;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.resourceWidth = i_$0.width;
this.resourceHeight = i_$0.height
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1897/21";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1897;
return $lzsc$temp
})();
$5.lineno = 1901, this.__processHiddenParents(f_$2, i_$0)
};
if (this.quirks.ie_alpha_image_loader) {
i_$0._parent.__lastcondition = "__imgonload"
} else {
i_$0.__lastcondition = "__imgonload";
i_$0.__LZreswidth = this.resourceWidth;
i_$0.__LZresheight = this.resourceHeight
};
if (this.quirks.ie_alpha_image_loader) {
$5.lineno = 1915, this.__updateIEAlpha(this.__LZimg)
} else if (this.stretches) {
$5.lineno = 1917, this.__updateStretches()
}};
$5.lineno = 1921, this.owner.resourceload({width: this.resourceWidth, height: this.resourceHeight, resource: this.resource, skiponload: this.skiponload});
if (this.skiponload != true) {
$5.lineno = 1924, this.__updateLoadStatus(1)
};
if (this.quirks.ie_alpha_image_loader) {
$5.lineno = 1927, this.__clearImageEvents(this.__LZimg)
} else {
$5.lineno = 1929, this.__clearImageEvents(i_$0)
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1873/34";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1873;
return $lzsc$temp
})();
LzSprite.prototype.__processHiddenParents = (function () {
var $lzsc$temp = function (method_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["method", method_$0];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/kernel/dhtml/LzSprite.js";
$a.lineno = 1941;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
var sprites_$1 = ($a.lineno = 1942, this.__findParents("visible", false));
var vals_$2 = [];
var l_$3 = sprites_$1.length;
for (var n_$4 = 0;n_$4 < l_$3;n_$4++) {
var v_$5 = sprites_$1[n_$4];
vals_$2[n_$4] = v_$5.__LZdiv.style.display;
v_$5.__LZdiv.style.display = ""
};
var args_$6 = ($a.lineno = 1954, Array.prototype.slice.call(arguments, 1));
var result_$7 = ($a.lineno = 1955, method_$0.apply(this, args_$6));
for (var n_$4 = 0;n_$4 < l_$3;n_$4++) {
var v_$5 = sprites_$1[n_$4];
v_$5.__LZdiv.style.display = vals_$2[n_$4]
};
return result_$7
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1941/45";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1941;
return $lzsc$temp
})();
LzSprite.prototype.__imgonerror = (function () {
var $lzsc$temp = function (i_$0, cacheHit_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["i", i_$0, "cacheHit", cacheHit_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 1968;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.loading != true) return;
if (this.__imgtimoutid != null) {
$4.lineno = 1971, clearTimeout(this.__imgtimoutid);
this.__imgtimoutid = null
};
this.loading = false;
this.resourceWidth = 1;
this.resourceHeight = 1;
if (!cacheHit_$1) {
if (this.quirks.ie_alpha_image_loader) {
i_$0._parent.__lastcondition = "__imgonerror"
} else {
i_$0.__lastcondition = "__imgonerror"
};
if (this.quirks.ie_alpha_image_loader) {
$4.lineno = 1987, this.__updateIEAlpha(this.__LZimg)
} else if (this.stretches) {
$4.lineno = 1989, this.__updateStretches()
}};
$4.lineno = 1993, this.owner.resourceloaderror();
if (this.skiponload != true) {
$4.lineno = 1996, this.__updateLoadStatus(0)
};
if (this.quirks.ie_alpha_image_loader) {
$4.lineno = 1999, this.__clearImageEvents(this.__LZimg)
} else {
$4.lineno = 2001, this.__clearImageEvents(i_$0)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#1968/35";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 1968;
return $lzsc$temp
})();
LzSprite.prototype.__imgontimeout = (function () {
var $lzsc$temp = function (i_$0, cacheHit_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["i", i_$0, "cacheHit", cacheHit_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 2008;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.loading != true) return;
this.__imgtimoutid = null;
this.loading = false;
this.resourceWidth = 1;
this.resourceHeight = 1;
if (!cacheHit_$1) {
if (this.quirks.ie_alpha_image_loader) {
i_$0._parent.__lastcondition = "__imgontimeout"
} else {
i_$0.__lastcondition = "__imgontimeout"
};
if (this.quirks.ie_alpha_image_loader) {
$4.lineno = 2024, this.__updateIEAlpha(this.__LZimg)
} else if (this.stretches) {
$4.lineno = 2026, this.__updateStretches()
}};
$4.lineno = 2030, this.owner.resourceloadtimeout();
if (this.skiponload != true) {
$4.lineno = 2033, this.__updateLoadStatus(0)
};
if (this.quirks.ie_alpha_image_loader) {
$4.lineno = 2036, this.__clearImageEvents(this.__LZimg)
} else {
$4.lineno = 2038, this.__clearImageEvents(i_$0)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2008/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2008;
return $lzsc$temp
})();
LzSprite.prototype.__updateLoadStatus = (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2045;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2046, this.owner.resourceevent("loadratio", val_$0);
$3.lineno = 2047, this.owner.resourceevent("framesloadratio", val_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2045/41";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2045;
return $lzsc$temp
})();
LzSprite.prototype.__destroyImage = (function () {
var $lzsc$temp = function (url_$0, img_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["url", url_$0, "img", img_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzSprite.js";
$5.lineno = 2059;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (img_$1) {
if (img_$1.owner) {
var owner_$2 = img_$1.owner;
if (owner_$2.__imgtimoutid != null) {
$5.lineno = 2064, clearTimeout(owner_$2.__imgtimoutid);
owner_$2.__imgtimoutid = null
};
$5.lineno = 2068, lz.BrowserUtils.removecallback(owner_$2)
};
$5.lineno = 2070, LzSprite.prototype.__clearImageEvents(img_$1);
$5.lineno = 2071, LzSprite.prototype.__discardElement(img_$1)
};
if (LzSprite.quirks.preload_images_only_once) {
LzSprite.prototype.__preloadurls[url_$0] = null
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2059/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2059;
return $lzsc$temp
})();
LzSprite.prototype.__clearImageEvents = (function () {
var $lzsc$temp = function (img_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["img", img_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzSprite.js";
$5.lineno = 2082;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (!img_$0 || img_$0.__cleared) return;
if (LzSprite.quirks.ie_alpha_image_loader) {
var sizer_$1 = img_$0.sizer;
if (sizer_$1) {
if (sizer_$1.tId) $5.lineno = 2088, clearTimeout(sizer_$1.tId);
sizer_$1.onerror = null;
sizer_$1.onload = null;
sizer_$1.onloadforeal = null;
sizer_$1._parent = null;
var dummyimg_$2 = {width: sizer_$1.width, height: sizer_$1.height, src: sizer_$1.src};
$5.lineno = 2095, LzSprite.prototype.__discardElement(sizer_$1);
img_$0.sizer = dummyimg_$2
}} else {
img_$0.onerror = null;
img_$0.onload = null
};
img_$0.__cleared = true
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2082/41";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2082;
return $lzsc$temp
})();
LzSprite.prototype.__gotImage = (function () {
var $lzsc$temp = function (url_$0, obj_$1, skiploader_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["url", url_$0, "obj", obj_$1, "skiploader", skiploader_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzSprite.js";
$5.lineno = 2108;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (this.owner.skiponload || skiploader_$2 == true) {
$5.lineno = 2113, this.owner[obj_$1.__lastcondition]({width: this.owner.resourceWidth, height: this.owner.resourceHeight}, true)
} else {
if (LzSprite.quirks.ie_alpha_image_loader) {
$5.lineno = 2116, this.owner[obj_$1.__lastcondition](obj_$1.sizer, true)
} else {
$5.lineno = 2118, this.owner[obj_$1.__lastcondition](obj_$1, true)
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2108/33";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2108;
return $lzsc$temp
})();
LzSprite.prototype.__getImage = (function () {
var $lzsc$temp = function (url_$0, skiploader_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["url", url_$0, "skiploader", skiploader_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzSprite.js";
$5.lineno = 2126;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (LzSprite.quirks.ie_alpha_image_loader) {
var im = ($5.lineno = 2128, document.createElement("div"));
im.style.overflow = "hidden";
if (this.owner && skiploader_$1 != true) {
im.owner = this.owner;
if (!im.sizer) {
im.sizer = ($5.lineno = 2136, document.createElement("img"));
im.sizer._parent = im
};
im.sizer.onload = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzSprite.js";
$2.lineno = 2139;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
im.sizer.tId = ($2.lineno = 2141, setTimeout(this.onloadforeal, 1))
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2139/31";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2139;
return $lzsc$temp
})();
im.sizer.onloadforeal = ($5.lineno = 2143, lz.BrowserUtils.getcallbackfunc(this.owner, "__imgonload", [im.sizer]));
im.sizer.onerror = ($5.lineno = 2144, lz.BrowserUtils.getcallbackfunc(this.owner, "__imgonerror", [im.sizer]));
var callback_$2 = ($5.lineno = 2145, lz.BrowserUtils.getcallbackfunc(this.owner, "__imgontimeout", [im.sizer]));
this.owner.__imgtimoutid = ($5.lineno = 2146, setTimeout(callback_$2, canvas.medialoadtimeout));
im.sizer.src = url_$0
};
if (!skiploader_$1) im.style.display = "none";
if (this.owner.stretches) {
im.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + url_$0 + "',sizingMethod='scale')"
} else {
im.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + url_$0 + "')"
}} else {
var im = ($5.lineno = 2157, document.createElement("img"));
im.className = "lzimg";
if (!skiploader_$1) im.style.display = "none";
if (this.owner && skiploader_$1 != true) {
im.owner = this.owner;
im.onload = ($5.lineno = 2164, lz.BrowserUtils.getcallbackfunc(this.owner, "__imgonload", [im]));
im.onerror = ($5.lineno = 2165, lz.BrowserUtils.getcallbackfunc(this.owner, "__imgonerror", [im]));
var callback_$2 = ($5.lineno = 2166, lz.BrowserUtils.getcallbackfunc(this.owner, "__imgontimeout", [im]));
this.owner.__imgtimoutid = ($5.lineno = 2167, setTimeout(callback_$2, canvas.medialoadtimeout))
};
im.src = url_$0
};
if (im) im.__lastcondition = "__imgonload";
return im
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2126/33";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2126;
return $lzsc$temp
})();
LzSprite.prototype.setClip = (function () {
var $lzsc$temp = function (c_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["c", c_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2176;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.clip == c_$0) return;
this.clip = c_$0;
if (this.quirks.size_blank_to_zero) {
if (this.__sizedtozero && c_$0) {
$3.lineno = 2182, this.__restoreSize()
}};
$3.lineno = 2185, this.__updateClip()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2176/30";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2176;
return $lzsc$temp
})();
LzSprite.prototype.__updateClip = (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 2191;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var quirks_$0 = this.quirks;
if (this.isroot && this.quirks.canvas_div_cannot_be_clipped) return;
if (this.clip && this.width != null && this.width >= 0 && this.height != null && this.height >= 0) {
var s_$1 = "rect(0px " + this._w + " " + this._h + " 0px)";
this.__LZdiv.style.clip = s_$1
} else if (this.__LZdiv.style.clip) {
var s_$1 = quirks_$0.fix_ie_css_syntax ? "rect(auto auto auto auto)" : "";
this.__LZdiv.style.clip = s_$1
} else {
return
};
if (quirks_$0.fix_clickable) {
this.__LZclickcontainerdiv.style.clip = s_$1
};
if (quirks_$0.fix_contextmenu && this.__LZcontextcontainerdiv) {
this.__LZcontextcontainerdiv.style.clip = s_$1
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2191/35";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2191;
return $lzsc$temp
})();
LzSprite.prototype.stretchResource = (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2223;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
s_$0 = s_$0 != "none" ? s_$0 : null;
if (this.stretches == s_$0) return;
this.stretches = s_$0;
if (!(s_$0 == null && this.__csssprite) && this.__bgimage) {
if (this.quirks.preload_images) $3.lineno = 2228, this.__preloadFrames();
$3.lineno = 2230, this.__setBGImage(null);
$3.lineno = 2232, this.__setFrame(this.frame, true)
};
$3.lineno = 2235, this.__updateStretches()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2223/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2223;
return $lzsc$temp
})();
LzSprite.prototype.__updateStretches = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2241;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.loading) return;
if (this.quirks.ie_alpha_image_loader) return;
if (this.__LZimg) {
var dsp_$0 = this.__LZimg.style.display;
this.__LZimg.style.display = "none";
if (this.stretches == "both") {
this.__LZimg.width = this.width;
this.__LZimg.height = this.height
} else if (this.stretches == "height") {
this.__LZimg.width = this.resourceWidth;
this.__LZimg.height = this.height
} else if (this.stretches == "width") {
this.__LZimg.width = this.width;
this.__LZimg.height = this.resourceHeight
} else {
this.__LZimg.width = this.resourceWidth;
this.__LZimg.height = this.resourceHeight
};
this.__LZimg.style.display = dsp_$0
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2241/40";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2241;
return $lzsc$temp
})();
LzSprite.prototype.predestroy = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzSprite.js";
$2.lineno = 2268;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2268/33";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2268;
return $lzsc$temp
})();
LzSprite.prototype.destroy = (function () {
var $lzsc$temp = function (parentvalid_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["parentvalid", parentvalid_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzSprite.js";
$5.lineno = 2271;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 0:
parentvalid_$0 = true
};
if (this.__LZdeleted == true) return;
this.__LZdeleted = true;
if (parentvalid_$0) {
if (this.__parent) {
var pc_$1 = this.__parent.__children;
for (var i_$2 = pc_$1.length - 1;i_$2 >= 0;i_$2--) {
if (pc_$1[i_$2] === this) {
$5.lineno = 2282, pc_$1.splice(i_$2, 1);
break
}}}};
if (this.__ImgPool) $5.lineno = 2290, this.__ImgPool.destroy();
if (this.__LZimg) $5.lineno = 2291, this.__discardElement(this.__LZimg);
this.__skipdiscards = parentvalid_$0 != true;
if (this.__LZclick) {
$5.lineno = 2297, this.__setClickable(false, this.__LZclick);
$5.lineno = 2298, this.__discardElement(this.__LZclick)
};
if (this.__LzInputDiv) {
$5.lineno = 2301, this.__setTextEvents(false);
$5.lineno = 2302, this.__discardElement(this.__LzInputDiv)
};
if (this.__LZdiv) {
if (this.isroot) {
if (this.quirks.activate_on_mouseover) {
this.__LZdiv.onmouseover = null;
this.__LZdiv.onmouseout = null
}};
this.__LZdiv.onselectstart = null;
$5.lineno = 2312, this.__setClickable(false, this.__LZdiv);
$5.lineno = 2313, this.__discardElement(this.__LZdiv)
};
if (this.__LZinputclickdiv) {
if (this.quirks.ie_mouse_events) {
this.__LZinputclickdiv.onmouseenter = null
} else {
this.__LZinputclickdiv.onmouseover = null
};
$5.lineno = 2322, this.__discardElement(this.__LZinputclickdiv)
};
if (this.__LZclickcontainerdiv) {
$5.lineno = 2325, this.__discardElement(this.__LZclickcontainerdiv)
};
if (this.__LZcontextcontainerdiv) {
$5.lineno = 2328, this.__discardElement(this.__LZcontextcontainerdiv)
};
if (this.__LZcontext) {
$5.lineno = 2331, this.__discardElement(this.__LZcontext)
};
if (this.__LZtextdiv) {
$5.lineno = 2334, this.__discardElement(this.__LZtextdiv)
};
if (this.__LZcanvas) {
if (this.quirks.ie_leak_prevention) {
this.__LZcanvas.owner = null;
this.__LZcanvas.getContext = null
};
$5.lineno = 2342, this.__discardElement(this.__LZcanvas)
};
this.__ImgPool = null;
if (this.quirks.ie_leak_prevention) {
delete this.__sprites[this.uid]
};
if (this.isroot) {
lz.BrowserUtils.scopes = null
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2271/30";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2271;
return $lzsc$temp
})();
LzSprite.prototype.getMouse = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2359;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var p_$0 = ($3.lineno = 2362, this.__getPos());
return {x: LzMouseKernel.__x - p_$0.x, y: LzMouseKernel.__y - p_$0.y}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2359/31";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2359;
return $lzsc$temp
})();
LzSprite.prototype.__poscache = null;
LzSprite.prototype.__poscacheid = 0;
LzSprite.__poscachecnt = 0;
LzSprite.prototype.__getPos = (function () {
var $lzsc$temp = function () {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = [];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/kernel/dhtml/LzSprite.js";
$a.lineno = 2381;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
if (!LzSprite.__rootSprite.__initdone) {
return $a.lineno = 2384, lz.embed.getAbsolutePosition(this.__LZdiv)
};
var dirty_$0 = false;
var attached_$1 = true;
var root_$2 = LzSprite.__rootSprite;
var pp_$3, ppmax_$4;
for (var p_$5 = this;p_$5 !== root_$2;p_$5 = pp_$3) {
pp_$3 = p_$5.__parent;
if (pp_$3) {
if (p_$5.__poscacheid < pp_$3.__poscacheid) {
dirty_$0 = true;
ppmax_$4 = pp_$3
}} else {
attached_$1 = false;
break
}};
if (dirty_$0 && attached_$1) {
var next_$6 = ++LzSprite.__poscachecnt;
for (var p_$5 = this;p_$5 !== ppmax_$4;p_$5 = p_$5.__parent) {
p_$5.__poscache = null;
p_$5.__poscacheid = next_$6
}};
var pos_$7 = this.__poscache;
if (!pos_$7) {
pos_$7 = ($a.lineno = 2419, this.__processHiddenParents(lz.embed.getAbsolutePosition, this.__LZdiv));
if (attached_$1) {
this.__poscache = pos_$7
}};
return pos_$7
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2381/31";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2381;
return $lzsc$temp
})();
LzSprite.prototype.getWidth = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2428;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var w_$0 = this.__LZdiv.clientWidth;
return w_$0 == 0 ? this.width : w_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2428/31";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2428;
return $lzsc$temp
})();
LzSprite.prototype.getHeight = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2434;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var h_$0 = this.__LZdiv.clientHeight;
return h_$0 == 0 ? this.height : h_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2434/32";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2434;
return $lzsc$temp
})();
LzSprite.prototype.setCursor = (function () {
var $lzsc$temp = function (c_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["c", c_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2447;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.quirks.no_cursor_colresize) {
return
};
if (c_$0 == this.cursor) return;
if (this.clickable != true) $3.lineno = 2452, this.setClickable(true);
this.cursor = c_$0;
var c_$0 = ($3.lineno = 2455, LzSprite.__defaultStyles.hyphenate(c_$0));
this.__LZclick.style.cursor = c_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2447/32";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2447;
return $lzsc$temp
})();
LzSprite.prototype.setShowHandCursor = (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2464;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (s_$0 == true) {
$3.lineno = 2466, this.setCursor("pointer")
} else {
$3.lineno = 2468, this.setCursor("default")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2464/40";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2464;
return $lzsc$temp
})();
LzSprite.prototype.getDisplayObject = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzSprite.js";
$2.lineno = 2472;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.__LZdiv
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2472/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2472;
return $lzsc$temp
})();
LzSprite.prototype.__LZcanvas = null;
LzSprite.prototype.getContext = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2479;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.__LZcanvas && this.__LZcanvas.getContext) {
return $3.lineno = 2481, this.__LZcanvas.getContext("2d")
};
var canvas_$0 = ($3.lineno = 2484, document.createElement("canvas"));
canvas_$0.owner = this;
this.__LZcanvas = canvas_$0;
canvas_$0.className = "lzgraphicscanvas";
$3.lineno = 2491, this.__LZdiv.appendChild(canvas_$0);
$3.lineno = 2492, lz.embed.__setAttr(this.__LZcanvas, "width", this.width);
$3.lineno = 2493, lz.embed.__setAttr(this.__LZcanvas, "height", this.height);
if (lz.embed.browser.isIE) {
this.__maxTries = 10;
$3.lineno = 2498, this.__initcanvasie()
} else {
return $3.lineno = 2500, this.__LZcanvas.getContext("2d")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2479/33";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2479;
return $lzsc$temp
})();
LzSprite.prototype.setContextCallback = (function () {
var $lzsc$temp = function (callbackscope_$0, callbackname_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["callbackscope", callbackscope_$0, "callbackname", callbackname_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 2505;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.__canvascallbackscope = callbackscope_$0;
this.__canvascallbackname = callbackname_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2505/41";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2505;
return $lzsc$temp
})();
LzSprite.prototype.bringToFront = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2511;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this.__parent) {
$3.lineno = 2514, Debug.warn("bringToFront with no parent");
return
};
var c_$0 = this.__parent.__children;
if (c_$0.length < 2) return;
$3.lineno = 2521, c_$0.sort(LzSprite.prototype.__zCompare);
$3.lineno = 2523, this.sendInFrontOf(c_$0[c_$0.length - 1])
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2511/35";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2511;
return $lzsc$temp
})();
LzSprite.prototype.__setZ = (function () {
var $lzsc$temp = function (z_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["z", z_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 2529;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.__LZdiv.style.zIndex = z_$0;
var quirks_$1 = this.quirks;
if (quirks_$1.fix_clickable) {
this.__LZclickcontainerdiv.style.zIndex = z_$0
};
if (quirks_$1.fix_contextmenu && this.__LZcontextcontainerdiv) {
this.__LZcontextcontainerdiv.style.zIndex = z_$0
};
this.__z = z_$0
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2529/29";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2529;
return $lzsc$temp
})();
LzSprite.prototype.__zCompare = (function () {
var $lzsc$temp = function (a_$0, b_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["a", a_$0, "b", b_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 2544;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (a_$0.__z < b_$1.__z) return -1;
if (a_$0.__z > b_$1.__z) return 1;
return 0
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2544/33";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2544;
return $lzsc$temp
})();
LzSprite.prototype.sendToBack = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2552;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this.__parent) {
$3.lineno = 2555, Debug.warn("sendToBack with no parent");
return
};
var c_$0 = this.__parent.__children;
if (c_$0.length < 2) return;
$3.lineno = 2562, c_$0.sort(LzSprite.prototype.__zCompare);
$3.lineno = 2564, this.sendBehind(c_$0[0])
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2552/33";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2552;
return $lzsc$temp
})();
LzSprite.prototype.sendBehind = (function () {
var $lzsc$temp = function (behindSprite_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["behindSprite", behindSprite_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/dhtml/LzSprite.js";
$7.lineno = 2567;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (!behindSprite_$0 || behindSprite_$0 === this) return;
if (!this.__parent) {
$7.lineno = 2571, Debug.warn("sendBehind with no parent");
return
};
var c_$1 = this.__parent.__children;
if (c_$1.length < 2) return;
$7.lineno = 2578, c_$1.sort(LzSprite.prototype.__zCompare);
var behindZ_$2 = false;
for (var i_$3 = 0;i_$3 < c_$1.length;i_$3++) {
var s_$4 = c_$1[i_$3];
if (s_$4 == behindSprite_$0) behindZ_$2 = behindSprite_$0.__z;
if (behindZ_$2 != false) {
$7.lineno = 2586, s_$4.__setZ(++s_$4.__z)
}};
$7.lineno = 2590, this.__setZ(behindZ_$2)
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2567/33";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2567;
return $lzsc$temp
})();
LzSprite.prototype.sendInFrontOf = (function () {
var $lzsc$temp = function (frontSprite_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["frontSprite", frontSprite_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/dhtml/LzSprite.js";
$7.lineno = 2593;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (!frontSprite_$0 || frontSprite_$0 === this) return;
if (!this.__parent) {
$7.lineno = 2597, Debug.warn("sendInFrontOf with no parent");
return
};
var c_$1 = this.__parent.__children;
if (c_$1.length < 2) return;
$7.lineno = 2604, c_$1.sort(LzSprite.prototype.__zCompare);
var frontZ_$2 = false;
for (var i_$3 = 0;i_$3 < c_$1.length;i_$3++) {
var s_$4 = c_$1[i_$3];
if (frontZ_$2 != false) {
$7.lineno = 2611, s_$4.__setZ(++s_$4.__z)
};
if (s_$4 == frontSprite_$0) frontZ_$2 = frontSprite_$0.__z + 1
};
$7.lineno = 2616, this.__setZ(frontZ_$2)
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2593/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2593;
return $lzsc$temp
})();
LzSprite.prototype.__setFrame = (function () {
var $lzsc$temp = function (f_$0, force_$1) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["f", f_$0, "force", force_$1];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzSprite.js";
$8.lineno = 2623;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
if (f_$0 < 1) {
f_$0 = 1
} else if (f_$0 > this.frames.length) {
f_$0 = this.frames.length
};
var skipevent_$2 = false;
if (force_$1) {
skipevent_$2 = f_$0 == this.frame
} else if (f_$0 == this.frame) {
return
};
this.frame = f_$0;
if (this.stretches == null && this.__csssprite) {
if (!this.__bgimage) {
this.__LZimg.src = LzSprite.blankimage;
$8.lineno = 2643, this.__setBGImage(this.__csssprite)
};
var x_$3 = (this.frame - 1) * -this.resourceWidth;
var y_$4 = -this.__cssspriteoffset || 0;
this.__LZimg.style.backgroundPosition = x_$3 + "px " + y_$4 + "px"
} else {
var url_$5 = this.frames[this.frame - 1];
$8.lineno = 2652, this.setSource(url_$5, true)
};
if (skipevent_$2) return;
$8.lineno = 2655, this.owner.resourceevent("frame", this.frame);
if (this.frames.length == this.frame) $8.lineno = 2657, this.owner.resourceevent("lastframe", null, true)
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2623/33";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2623;
return $lzsc$temp
})();
LzSprite.prototype.__discardElement = (function () {
var $lzsc$temp = function (element_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["element", element_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2663;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.__skipdiscards) return;
if (element_$0.parentNode) $3.lineno = 2665, element_$0.parentNode.removeChild(element_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2663/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2663;
return $lzsc$temp
})();
LzSprite.prototype.getZ = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzSprite.js";
$2.lineno = 2672;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.__z
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2672/27";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2672;
return $lzsc$temp
})();
LzSprite.prototype.updateResourceSize = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzSprite.js";
$2.lineno = 2676;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 2677, this.owner.resourceload({width: this.resourceWidth, height: this.resourceHeight, resource: this.resource, skiponload: true})
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2676/41";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2676;
return $lzsc$temp
})();
LzSprite.prototype.unload = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzSprite.js";
$2.lineno = 2680;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.resource = null;
this.source = null;
this.resourceWidth = null;
this.resourceHeight = null;
if (this.__ImgPool) {
$2.lineno = 2686, this.__ImgPool.destroy();
this.__ImgPool = null
};
if (this.__LZimg) {
$2.lineno = 2690, this.__destroyImage(null, this.__LZimg);
this.__LZimg = null
};
$2.lineno = 2693, this.__updateLoadStatus(0)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2680/29";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2680;
return $lzsc$temp
})();
LzSprite.prototype.__setCSSClassProperty = (function () {
var $lzsc$temp = function (classname_$0, name_$1, value_$2) {
var $a = Debug;
var $b = $a.backtraceStack;
try {
if ($b) {
var $c = ["classname", classname_$0, "name", name_$1, "value", value_$2];
$c.callee = arguments.callee;
$c["this"] = this;
$c.filename = "lfc/kernel/dhtml/LzSprite.js";
$c.lineno = 2699;
$b.push($c);
if ($b.length > $b.maxDepth) {
$a.stackOverflow()
}};
var rulename_$3 = document.all ? "rules" : "cssRules";
var sheets_$4 = document.styleSheets;
var sl_$5 = sheets_$4.length - 1;
for (var i_$6 = sl_$5;i_$6 >= 0;i_$6--) {
var rules_$7 = sheets_$4[i_$6][rulename_$3];
var rl_$8 = rules_$7.length - 1;
for (var j_$9 = rl_$8;j_$9 >= 0;j_$9--) {
if (rules_$7[j_$9].selectorText == classname_$0) {
rules_$7[j_$9].style[name_$1] = value_$2
}}}}
finally {
if ($b) {
$b.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2699/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2699;
return $lzsc$temp
})();
LzSprite.prototype.setDefaultContextMenu = (function () {
var $lzsc$temp = function (cmenu_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["cmenu", cmenu_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2719;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
LzSprite.__rootSprite.__contextmenu = cmenu_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2719/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2719;
return $lzsc$temp
})();
LzSprite.prototype.setContextMenu = (function () {
var $lzsc$temp = function (cmenu_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["cmenu", cmenu_$0];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzSprite.js";
$8.lineno = 2728;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
this.__contextmenu = cmenu_$0;
if (!this.quirks.fix_contextmenu || this.__LZcontext) return;
var sprites_$1 = ($8.lineno = 2734, this.__findParents("__LZcontextcontainerdiv", null));
for (var i_$2 = sprites_$1.length - 1;i_$2 >= 0;i_$2--) {
var sprite_$3 = sprites_$1[i_$2];
var parentcontainer_$4 = sprite_$3.__parent.__LZcontextcontainerdiv;
var cxdiv_$5 = ($8.lineno = 2744, document.createElement("div"));
cxdiv_$5.className = "lzdiv";
$8.lineno = 2746, parentcontainer_$4.appendChild(cxdiv_$5);
$8.lineno = 2748, this.__copystyles(sprite_$3.__LZdiv, cxdiv_$5);
if (sprite_$3._id && !cxdiv_$5.id) {
cxdiv_$5.id = "context" + sprite_$3._id
};
cxdiv_$5.owner = sprite_$3;
sprite_$3.__LZcontextcontainerdiv = cxdiv_$5
};
var cxdiv_$5 = ($8.lineno = 2757, document.createElement("div"));
cxdiv_$5.className = "lzcontext";
$8.lineno = 2759, this.__LZcontextcontainerdiv.appendChild(cxdiv_$5);
this.__LZcontext = cxdiv_$5;
cxdiv_$5.style.width = this._w;
cxdiv_$5.style.height = this._h;
cxdiv_$5.owner = this
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2728/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2728;
return $lzsc$temp
})();
LzSprite.prototype.__copystyles = (function () {
var $lzsc$temp = function (from_$0, to_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["from", from_$0, "to", to_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 2770;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
to_$1.style.left = from_$0.style.left;
to_$1.style.top = from_$0.style.top;
to_$1.style.display = from_$0.style.display;
to_$1.style.clip = from_$0.style.clip;
to_$1.style.zIndex = from_$0.style.zIndex
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2770/35";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2770;
return $lzsc$temp
})();
LzSprite.prototype.getContextMenu = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzSprite.js";
$2.lineno = 2782;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.__contextmenu
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2782/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2782;
return $lzsc$temp
})();
LzSprite.prototype.setRotation = (function () {
var $lzsc$temp = function (r_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["r", r_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 2786;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var browser_$1 = lz.embed.browser;
if (browser_$1.isSafari) {
this.__LZdiv.style["WebkitTransform"] = "rotate(" + r_$0 + "deg)"
} else if (browser_$1.isFirefox) {
this.__LZdiv.style["MozTransform"] = "rotate(" + r_$0 + "deg)"
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2786/34";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2786;
return $lzsc$temp
})();
if (LzSprite.quirks.ie_leak_prevention) {
LzSprite.prototype.__sprites = {};
function __cleanUpForIE () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 2800;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
$4.lineno = 2801, LzTextSprite.prototype.__cleanupdivs();
LzTextSprite.prototype._sizecache = {};
var obj_$0 = LzSprite.prototype.__sprites;
for (var i_$1 in obj_$0) {
$4.lineno = 2806, obj_$0[i_$1].destroy();
obj_$0[i_$1] = null
};
LzSprite.prototype.__sprites = {}}
finally {
if ($3) {
$3.length--
}}};
__cleanUpForIE["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
__cleanUpForIE["_dbg_lineno"] = 2800;
lz.embed.attachEventHandler(window, "beforeunload", window, "__cleanUpForIE");
LzSprite.prototype.__discardElement = (function () {
var $lzsc$temp = function (element_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["element", element_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 2814;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (!element_$0 || !element_$0.nodeType) return;
if (element_$0.nodeType >= 1 && element_$0.nodeType < 13) {
if (element_$0.owner) element_$0.owner = null;
var garbageBin_$1 = ($4.lineno = 2821, document.getElementById("__LZIELeakGarbageBin"));
if (!garbageBin_$1) {
garbageBin_$1 = ($4.lineno = 2823, document.createElement("DIV"));
garbageBin_$1.id = "__LZIELeakGarbageBin";
garbageBin_$1.style.display = "none";
$4.lineno = 2826, document.body.appendChild(garbageBin_$1)
};
$4.lineno = 2830, garbageBin_$1.appendChild(element_$0);
garbageBin_$1.innerHTML = ""
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2814/43";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2814;
return $lzsc$temp
})()
};
LzSprite.prototype.getSelectedText = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzSprite.js";
$2.lineno = 2838;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (window.getSelection) {
return $2.lineno = 2840, ($2.lineno = 2840, window.getSelection()).toString()
} else if (document.selection) {
return $2.lineno = 2842, ($2.lineno = 2842, document.selection.createRange()).text.toString()
} else if (document.getSelection) {
return $2.lineno = 2844, document.getSelection()
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2838/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2838;
return $lzsc$temp
})();
LzSprite.prototype.setAADescription = (function () {
var $lzsc$temp = function (s_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["s", s_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 2852;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var aadiv_$1 = this.aadescriptionDiv;
if (aadiv_$1 == null) {
this.aadescriptionDiv = aadiv_$1 = ($4.lineno = 2857, document.createElement("LABEL"));
aadiv_$1.className = "lzaccessibilitydiv";
if (!this.__LZdiv.id) this.__LZdiv.id = "sprite_" + this.uid;
$4.lineno = 2862, lz.embed.__setAttr(aadiv_$1, "for", this.__LZdiv.id);
$4.lineno = 2863, this.__LZdiv.appendChild(aadiv_$1)
};
aadiv_$1.innerHTML = s_$0
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2852/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2852;
return $lzsc$temp
})();
LzSprite.prototype.setAccessible = (function () {
var $lzsc$temp = function (accessible_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["accessible", accessible_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2872;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
LzSprite.__rootSprite.accessible = accessible_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2872/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2872;
return $lzsc$temp
})();
LzSprite.prototype._accProps = null;
LzSprite.prototype.setAAActive = (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2889;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.__LzAccessibilityActive = s_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2889/34";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2889;
return $lzsc$temp
})();
LzSprite.prototype.setAASilent = (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2899;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2899/34";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2899;
return $lzsc$temp
})();
LzSprite.prototype.setAAName = (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2908;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2908/32";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2908;
return $lzsc$temp
})();
LzSprite.prototype.aafocus = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2916;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
try {
if (this.__LZdiv != null) {
$3.lineno = 2919, this.__LZdiv.blur();
$3.lineno = 2920, this.__LZdiv.focus()
}}
catch (e_$0) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2916/30";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2916;
return $lzsc$temp
})();
LzSprite.prototype.setAATabIndex = (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2930;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2930/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2930;
return $lzsc$temp
})();
LzSprite.prototype.sendAAEvent = (function () {
var $lzsc$temp = function (childID_$0, eventType_$1, nonHTML_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["childID", childID_$0, "eventType", eventType_$1, "nonHTML", nonHTML_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/dhtml/LzSprite.js";
$6.lineno = 2937;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
try {
if (this.__LZdiv != null) {
$6.lineno = 2940, this.__LZdiv.focus()
}}
catch (e_$3) {}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2937/34";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2937;
return $lzsc$temp
})();
LzSprite.prototype.setID = (function () {
var $lzsc$temp = function (id_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["id", id_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2946;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this._id) this._id = id_$0;
if (!this.__LZdiv.id) this.__LZdiv.id = this._dbg_typename + id_$0;
if (!this.__LZclickcontainerdiv.id) this.__LZclickcontainerdiv.id = "click" + id_$0;
if (this.__LZcontextcontainerdiv && !this.__LZcontextcontainerdiv.id) this.__LZcontextcontainerdiv.id = this.__LZcontextcontainerdiv.id = "context" + id_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2946/28";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2946;
return $lzsc$temp
})();
LzSprite.prototype.__resizecanvas = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzSprite.js";
$2.lineno = 2953;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.width > 0 && this.height > 0) {
if (this.__LZcanvas) {
$2.lineno = 2956, lz.embed.__setAttr(this.__LZcanvas, "width", this.width);
$2.lineno = 2957, lz.embed.__setAttr(this.__LZcanvas, "height", this.height);
$2.lineno = 2959, this.__docanvascallback()
};
if (this.__LZcanvas && this["_canvashidden"]) {
this._canvashidden = false;
this.__LZcanvas.style.display = ""
}} else if (this.__LZcanvas && this["_canvashidden"] != true) {
this._canvashidden = true;
this.__LZcanvas.style.display = "none"
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2953/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2953;
return $lzsc$temp
})();
LzSprite.prototype.__docanvascallback = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 2971;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var callback_$0 = this.__canvascallbackscope[this.__canvascallbackname];
if (callback_$0) {
$3.lineno = 2974, callback_$0.call(this.__canvascallbackscope, ($3.lineno = 2974, this.__LZcanvas.getContext("2d")))
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2971/41";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2971;
return $lzsc$temp
})();
LzSprite.prototype.__initcanvasie = (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzSprite.js";
$4.lineno = 2979;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.__canvasTId) $4.lineno = 2981, clearTimeout(this.__canvasTId);
try {
if (this.__LZcanvas && this.__LZcanvas.parentNode != null) {
this.__LZcanvas = ($4.lineno = 2984, G_vmlCanvasManager.initElement(this.__LZcanvas));
$4.lineno = 2985, this.__docanvascallback();
return
}}
catch (e_$0) {};
if (--this.__maxTries > 0) {
var callback_$1 = ($4.lineno = 2991, lz.BrowserUtils.getcallbackstr(this, "__initcanvasie"));
this.__canvasTId = ($4.lineno = 2992, setTimeout(callback_$1, 50))
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2979/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2979;
return $lzsc$temp
})();
LzSprite.prototype.__getShadowCSS = (function () {
var $lzsc$temp = function (shadowcolor_$0, shadowdistance_$1, shadowangle_$2, shadowblurradius_$3) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["shadowcolor", shadowcolor_$0, "shadowdistance", shadowdistance_$1, "shadowangle", shadowangle_$2, "shadowblurradius", shadowblurradius_$3];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/kernel/dhtml/LzSprite.js";
$a.lineno = 2996;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
if (shadowcolor_$0 == null) {
return null
};
var radians_$4 = shadowangle_$2 * Math.PI / 180;
var xoffset_$5 = ($a.lineno = 3005, this.CSSDimension(($a.lineno = 3005, Math.cos(radians_$4)) * shadowdistance_$1));
var yoffset_$6 = ($a.lineno = 3006, this.CSSDimension(($a.lineno = 3006, Math.sin(radians_$4)) * shadowdistance_$1));
var rgbcolor_$7 = ($a.lineno = 3008, LzColorUtils.torgb(shadowcolor_$0));
return rgbcolor_$7 + " " + xoffset_$5 + " " + yoffset_$6 + " " + ($a.lineno = 3009, this.CSSDimension(shadowblurradius_$3))
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#2996/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 2996;
return $lzsc$temp
})();
LzSprite.prototype.updateShadow = (function () {
var $lzsc$temp = function (shadowcolor_$0, shadowdistance_$1, shadowangle_$2, shadowblurradius_$3) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["shadowcolor", shadowcolor_$0, "shadowdistance", shadowdistance_$1, "shadowangle", shadowangle_$2, "shadowblurradius", shadowblurradius_$3];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/dhtml/LzSprite.js";
$7.lineno = 3012;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
this.shadow = ($7.lineno = 3013, this.__getShadowCSS(shadowcolor_$0, shadowdistance_$1, shadowangle_$2, shadowblurradius_$3));
var displayobj_$4 = this.__LZdiv;
displayobj_$4.style.webkitBoxShadow = displayobj_$4.style.MozBoxShadow = displayobj_$4.style.boxShadow = this.shadow;
if (this.quirks.size_blank_to_zero) {
if (this.__sizedtozero) {
$7.lineno = 3021, this.__restoreSize()
}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#3012/35";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 3012;
return $lzsc$temp
})();
LzSprite.prototype.setCornerRadius = (function () {
var $lzsc$temp = function (radius_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["radius", radius_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 3026;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.__LZdiv.style.MozBorderRadius = this.__LZdiv.style.webkitBorderRadius = this.__LZdiv.style.borderRadius = ($3.lineno = 3027, this.CSSDimension(radius_$0))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#3026/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 3026;
return $lzsc$temp
})();
LzSprite.prototype.__csscache;
LzSprite.prototype.setCSS = (function () {
var $lzsc$temp = function (name_$0, value_$1, isdimension_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["name", name_$0, "value", value_$1, "isdimension", isdimension_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/dhtml/LzSprite.js";
$6.lineno = 3031;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (!this.__csscache) {
this.__csscache = {}} else if (this.__csscache[name_$0] === value_$1) {
return
};
this.__csscache[name_$0] = value_$1;
if (isdimension_$2) value_$1 = ($6.lineno = 3039, this.CSSDimension(value_$1));
var callback_$3 = this["set_" + name_$0];
if (callback_$3) {
$6.lineno = 3043, callback_$3.call(this, value_$1)
} else {
this.__LZdiv.style[name_$0] = value_$1;
if (this.quirks.fix_clickable) {
this.__LZclickcontainerdiv.style[name_$0] = value_$1
};
if (this.quirks.fix_contextmenu && this.__LZcontextcontainerdiv) {
this.__LZcontextcontainerdiv.style[name_$0] = value_$1
}}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#3031/29";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 3031;
return $lzsc$temp
})();
LzSprite.prototype.set_borderWidth = (function () {
var $lzsc$temp = function (width_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["width", width_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzSprite.js";
$3.lineno = 3055;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.__LZdiv.style.borderWidth = width_$0;
this.__LZdiv.style.borderStyle = "solid";
if (this.__LZclick) {
this.__LZclick.style.borderWidth = width_$0;
this.__LZclick.style.borderStyle = "solid";
this.__LZclick.style.borderColor = this.__csscache.borderColor
};
if (this.__LZcontext) {
this.__LZcontext.style.borderWidth = width_$0;
this.__LZcontext.style.borderStyle = "solid";
this.__LZcontext.style.borderColor = this.__csscache.borderColor
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzSprite.js#3055/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzSprite.js";
$lzsc$temp["_dbg_lineno"] = 3055;
return $lzsc$temp
})();
Class.make("LzLibrary", LzNode, ["loaded", false, "loading", false, "sprite", null, "href", void 0, "stage", "late", "onload", LzDeclaredEvent, "construct", (function () {
var $lzsc$temp = function (parent_$0, args_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["parent", parent_$0, "args", args_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzLibrary.js";
$4.lineno = 64;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.stage = args_$1.stage;
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($4.lineno = 66, this.nextMethod(arguments.callee, "construct"))).call(this, parent_$0, args_$1);
this.sprite = ($4.lineno = 67, new LzSprite(this, false, args_$1));
LzLibrary.libraries[args_$1.name] = this
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzLibrary.js";
$lzsc$temp["_dbg_lineno"] = 64;
return $lzsc$temp
})(), "init", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzLibrary.js";
$2.lineno = 74;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["init"] || ($2.lineno = 75, this.nextMethod(arguments.callee, "init"))).call(this);
if (this.stage == "late") {
$2.lineno = 77, this.load()
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "init";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzLibrary.js";
$lzsc$temp["_dbg_lineno"] = 74;
return $lzsc$temp
})(), "destroy", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzLibrary.js";
$2.lineno = 84;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.sprite) {
$2.lineno = 86, this.sprite.destroy();
this.sprite = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["destroy"] || ($2.lineno = 89, this.nextMethod(arguments.callee, "destroy"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzLibrary.js";
$lzsc$temp["_dbg_lineno"] = 84;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzLibrary.js";
$2.lineno = 105;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "Library " + this.href + " named " + this.name
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzLibrary.js";
$lzsc$temp["_dbg_lineno"] = 105;
return $lzsc$temp
})(), "load", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzLibrary.js";
$2.lineno = 115;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.loading || this.loaded) {
return
};
this.loading = true;
$2.lineno = 120, lz.embed.__dhtmlLoadLibrary(this.href)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "load";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzLibrary.js";
$lzsc$temp["_dbg_lineno"] = 115;
return $lzsc$temp
})(), "loadfinished", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzLibrary.js";
$2.lineno = 128;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.loading = false;
if (this.onload.ready) $2.lineno = 130, this.onload.sendEvent(true)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "loadfinished";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzLibrary.js";
$lzsc$temp["_dbg_lineno"] = 128;
return $lzsc$temp
})()], ["tagname", "import", "attributes", new LzInheritedHash(LzNode.attributes), "libraries", {}, "findLibrary", (function () {
var $lzsc$temp = function (libname_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["libname", libname_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/kernel/dhtml/LzLibrary.js";
$3.lineno = 98;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return LzLibrary.libraries[libname_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "findLibrary";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzLibrary.js";
$lzsc$temp["_dbg_lineno"] = 98;
return $lzsc$temp
})(), "stripQueryString", (function () {
var $lzsc$temp = function (str_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["str", str_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/kernel/dhtml/LzLibrary.js";
$3.lineno = 135;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (($3.lineno = 136, str_$0.indexOf("?")) > 0) {
str_$0 = ($3.lineno = 137, str_$0.substring(0, ($3.lineno = 137, str_$0.indexOf("?"))))
};
return str_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "stripQueryString";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzLibrary.js";
$lzsc$temp["_dbg_lineno"] = 135;
return $lzsc$temp
})(), "__LZsnippetLoaded", (function () {
var $lzsc$temp = function (url_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["url", url_$0];
$7.callee = arguments.callee;
$7.filename = "lfc/kernel/dhtml/LzLibrary.js";
$7.lineno = 146;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
url_$0 = ($7.lineno = 149, LzLibrary.stripQueryString(url_$0));
var lib_$1 = null;
var libs_$2 = LzLibrary.libraries;
for (var l_$3 in libs_$2) {
var libhref_$4 = ($7.lineno = 153, LzLibrary.stripQueryString(libs_$2[l_$3].href));
if (libhref_$4 == url_$0) {
lib_$1 = libs_$2[l_$3];
break
}};
if (lib_$1 == null) {
$7.lineno = 161, Debug.error("could not find library with href", url_$0)
} else {
lib_$1.loaded = true;
$7.lineno = 164, canvas.initiatorAddNode({attrs: {libname: lib_$1.name}, "class": LzLibraryCleanup}, 1);
$7.lineno = 166, canvas.initDone()
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "__LZsnippetLoaded";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzLibrary.js";
$lzsc$temp["_dbg_lineno"] = 146;
return $lzsc$temp
})()]);
lz[LzLibrary.tagname] = LzLibrary;
var LzTextSprite = (function () {
var $lzsc$temp = function (owner_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["owner", owner_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 14;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (owner_$0 == null) return;
this.constructor = arguments.callee;
this.owner = owner_$0;
this.uid = LzSprite.prototype.uid++;
this.__LZdiv = ($3.lineno = 20, document.createElement("div"));
this.__LZdiv.className = "lztextcontainer";
this.scrolldiv = this.__LZtextdiv = ($3.lineno = 22, document.createElement("div"));
this.scrolldiv.owner = this;
this.scrolldiv.className = "lztext";
$3.lineno = 25, this.__LZdiv.appendChild(this.scrolldiv);
if (this.quirks.emulate_flash_font_metrics) {
this.scrolldiv.className = "lzswftext"
};
this.__LZdiv.owner = this;
if (this.quirks.fix_clickable) {
this.__LZclickcontainerdiv = ($3.lineno = 31, document.createElement("div"));
this.__LZclickcontainerdiv.className = "lztextcontainer";
this.__LZclickcontainerdiv.owner = this
};
if (this.quirks.ie_leak_prevention) {
this.__sprites[this.uid] = this
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#14/20";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 14;
return $lzsc$temp
})();
LzTextSprite.prototype = new LzSprite(null);
LzTextSprite.prototype._dbg_typename = "LzTextSprite";
LzTextSprite.prototype.__initTextProperties = (function () {
var $lzsc$temp = function (args_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["args", args_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 48;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 49, this.setFontName(args_$0.font);
$3.lineno = 50, this.setFontStyle(args_$0.fontstyle);
$3.lineno = 51, this.setFontSize(args_$0.fontsize);
this.initted = true
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#48/47";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 48;
return $lzsc$temp
})();
LzTextSprite.prototype._fontStyle = "normal";
LzTextSprite.prototype._fontWeight = "normal";
LzTextSprite.prototype._fontSize = "11px";
LzTextSprite.prototype._fontFamily = "Verdana,Vera,sans-serif";
LzTextSprite.prototype._whiteSpace = "normal";
LzTextSprite.prototype._textAlign = "left";
LzTextSprite.prototype._textIndent = "0px";
LzTextSprite.prototype.__LZtextIndent = 0;
LzTextSprite.prototype._letterSpacing = "0px";
LzTextSprite.prototype._textDecoration = "none";
LzTextSprite.prototype.__wpadding = 4;
LzTextSprite.prototype.__hpadding = 4;
LzTextSprite.prototype.__sizecacheupperbound = 1000;
LzTextSprite.prototype.selectable = true;
LzTextSprite.prototype.text = "";
LzTextSprite.prototype.resize = true;
LzTextSprite.prototype.restrict = null;
LzTextSprite.prototype.setFontSize = (function () {
var $lzsc$temp = function (fsize_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["fsize", fsize_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$5.lineno = 74;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (fsize_$0 == null || fsize_$0 < 0) return;
var fp_$1 = ($5.lineno = 77, this.CSSDimension(fsize_$0));
if (this._fontSize != fp_$1) {
this._fontSize = fp_$1;
this.scrolldiv.style.fontSize = fp_$1;
if (this.quirks["emulate_flash_font_metrics"]) {
var lh_$2 = ($5.lineno = 85, Math.round(fsize_$0 * 1.2));
this.scrolldiv.style.lineHeight = ($5.lineno = 86, this.CSSDimension(lh_$2));
this._lineHeight = lh_$2
};
$5.lineno = 89, this.__updatefieldsize()
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#74/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 74;
return $lzsc$temp
})();
LzTextSprite.prototype.setFontStyle = (function () {
var $lzsc$temp = function (fstyle_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["fstyle", fstyle_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$4.lineno = 93;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var fweight_$1;
if (fstyle_$0 == "plain") {
fweight_$1 = "normal";
fstyle_$0 = "normal"
} else if (fstyle_$0 == "bold") {
fweight_$1 = "bold";
fstyle_$0 = "normal"
} else if (fstyle_$0 == "italic") {
fweight_$1 = "normal";
fstyle_$0 = "italic"
} else if (fstyle_$0 == "bold italic" || fstyle_$0 == "bolditalic") {
fweight_$1 = "bold";
fstyle_$0 = "italic"
};
if (fweight_$1 != this._fontWeight) {
this._fontWeight = fweight_$1;
this.scrolldiv.style.fontWeight = fweight_$1;
$4.lineno = 113, this.__updatefieldsize()
};
if (fstyle_$0 != this._fontStyle) {
this._fontStyle = fstyle_$0;
this.scrolldiv.style.fontStyle = fstyle_$0;
$4.lineno = 119, this.__updatefieldsize()
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#93/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 93;
return $lzsc$temp
})();
LzTextSprite.prototype.setFontName = (function () {
var $lzsc$temp = function (fname_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fname", fname_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 123;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (fname_$0 != this._fontFamily) {
this._fontFamily = fname_$0;
this.scrolldiv.style.fontFamily = fname_$0;
$3.lineno = 127, this.__updatefieldsize()
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#123/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 123;
return $lzsc$temp
})();
LzTextSprite.prototype.setTextColor = LzSprite.prototype.setColor;
LzTextSprite.prototype.lineHeight = null;
LzTextSprite.prototype.scrollTop = null;
LzTextSprite.prototype.scrollHeight = null;
LzTextSprite.prototype.scrollLeft = null;
LzTextSprite.prototype.scrollWidth = null;
LzTextSprite.prototype.scrolling = false;
LzTextSprite.prototype.setScrolling = (function () {
var $lzsc$temp = function (on_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["on", on_$0];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$a.lineno = 144;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
var scrolldiv_$1 = this.scrolldiv;
var sdc_$2 = scrolldiv_$1.className;
if (sdc_$2 == "lzswftext" || sdc_$2 == "lzswfinputtextmultiline") {
var ht_$3 = this.height;
var wt_$4 = this.width;
var cdim_$5 = this.CSSDimension;
if (on_$0 || sdc_$2 == "lzswfinputtextmultiline") {
this.scrolling = on_$0;
scrolldiv_$1.style.overflow = "scroll";
ht_$3 += this.quirks.scrollbar_width;
wt_$4 += this.quirks.scrollbar_width
} else {
this.scrolling = false;
scrolldiv_$1.style.overflow = ""
};
var hp_$6 = ($a.lineno = 164, cdim_$5(ht_$3));
var wp_$7 = ($a.lineno = 165, cdim_$5(wt_$4));
if (on_$0) {
scrolldiv_$1.style.clip = "rect(0 " + wp_$7 + " " + hp_$6 + " 0)"
} else if (scrolldiv_$1.style.clip) {
scrolldiv_$1.style.clip = this.quirks["fix_ie_css_syntax"] ? "rect(auto auto auto auto)" : ""
};
scrolldiv_$1.style.height = hp_$6;
scrolldiv_$1.style.width = wp_$7
};
return on_$0 && this.scrolling
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#144/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 144;
return $lzsc$temp
})();
LzTextSprite.prototype.scrollevents = false;
LzTextSprite.prototype.setScrollEvents = (function () {
var $lzsc$temp = function (on_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["on", on_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 181;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.scrollevents = ($3.lineno = 182, this.setScrolling(on_$0));
$3.lineno = 183, this.__updatefieldsize()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#181/42";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 181;
return $lzsc$temp
})();
LzTextSprite.prototype.initted = false;
LzTextSprite.prototype.__loadedfonts = {counter: 0};
LzTextSprite.prototype.__loadedfontscallback = {};
LzTextSprite.prototype.__isExternalFontLoaded = (function () {
var $lzsc$temp = function (url_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["url", url_$0];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$a.lineno = 189;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
var font_$1 = ($a.lineno = 190, LzFontManager.getFont(this._fontFamily, this._fontStyle, this._fontWeight));
if (!font_$1 || !this.initted) return true;
var url_$0 = ($a.lineno = 192, LzFontManager.getURL(font_$1));
var loadingstatus_$2 = this.__loadedfonts[url_$0];
if (loadingstatus_$2 == 2) {
return true
} else if (loadingstatus_$2 == 1) {
var lfc_$3 = this.__loadedfontscallback;
lfc_$3[this.uid] = this;
return false
};
this.__loadedfonts[url_$0] = 1;
this.__loadedfonts.counter++;
var style_$4 = "font-family:" + this._fontFamily + ";font-style:" + this._fontStyle + ";font-weight:" + this._fontWeight + ";width:auto;height:auto;";
var mdiv_$5 = ($a.lineno = 209, this.__createMeasureDiv("lzswftext", style_$4, 'Yq_gy"9;ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789-=abcdefghijklmnopqrstuvwxyz'));
mdiv_$5.style.display = "inline";
var width_$6 = mdiv_$5.clientWidth;
var height_$7 = mdiv_$5.clientHeight;
mdiv_$5.style.display = "none";
$a.lineno = 214, this.__measurefontdiv(mdiv_$5, width_$6, height_$7, url_$0)
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#189/49";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 189;
return $lzsc$temp
})();
LzTextSprite.prototype.__measurefontdiv = (function () {
var $lzsc$temp = function (mdiv_$0, width_$1, height_$2, url_$3) {
var $a = Debug;
var $b = $a.backtraceStack;
try {
if ($b) {
var $c = ["mdiv", mdiv_$0, "width", width_$1, "height", height_$2, "url", url_$3];
$c.callee = arguments.callee;
$c["this"] = this;
$c.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$c.lineno = 217;
$b.push($c);
if ($b.length > $b.maxDepth) {
$a.stackOverflow()
}};
mdiv_$0.style.display = "inline";
var newwidth_$4 = mdiv_$0.clientWidth;
var newheight_$5 = mdiv_$0.clientHeight;
mdiv_$0.style.display = "none";
if (newwidth_$4 == width_$1 && newheight_$5 == height_$2) {
var cstr_$6 = ($c.lineno = 225, lz.BrowserUtils.getcallbackfunc(this, "__measurefontdiv", [mdiv_$0, width_$1, height_$2, url_$3]));
$c.lineno = 226, setTimeout(cstr_$6, 0)
} else {
this.__loadedfonts.counter--;
this.__loadedfonts[url_$3] = 2;
if (this.__loadedfonts.counter == 0) {
var loadedfontscallback_$7 = this.__loadedfontscallback;
$c.lineno = 234, this.__clearMeasureCache();
for (var i_$8 in loadedfontscallback_$7) {
var sprite_$9 = loadedfontscallback_$7[i_$8];
sprite_$9._cachevalue = sprite_$9._cacheStyleKey = sprite_$9._cacheTextKey = null;
$c.lineno = 239, sprite_$9.setWidth(($c.lineno = 239, sprite_$9.getTextWidth()));
$c.lineno = 240, sprite_$9.setHeight(($c.lineno = 240, sprite_$9.getTextHeight()));
$c.lineno = 241, sprite_$9.__updatefieldsize()
};
delete loadedfontscallback_$7[i_$8]
}}}
finally {
if ($b) {
$b.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#217/43";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 217;
return $lzsc$temp
})();
LzTextSprite.prototype.__updatefieldsize = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 251;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!($3.lineno = 252, this.__isExternalFontLoaded())) return;
var cstr_$0 = ($3.lineno = 253, lz.BrowserUtils.getcallbackfunc(this, "__updatefieldsizeCallback", []));
$3.lineno = 254, setTimeout(cstr_$0, 0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#251/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 251;
return $lzsc$temp
})();
LzTextSprite.prototype.__updatefieldsizeCallback = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 257;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var lineHeight_$0 = ($3.lineno = 258, this.getLineHeight());
if (this.lineHeight !== lineHeight_$0) {
this.lineHeight = lineHeight_$0;
$3.lineno = 265, this.owner.scrollevent("lineHeight", lineHeight_$0)
};
if (!this.scrollevents) return;
$3.lineno = 271, this.__updatefieldprop("scrollHeight");
$3.lineno = 272, this.__updatefieldprop("scrollTop");
$3.lineno = 273, this.__updatefieldprop("scrollWidth");
$3.lineno = 274, this.__updatefieldprop("scrollLeft")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#257/52";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 257;
return $lzsc$temp
})();
LzTextSprite.prototype.__updatefieldprop = (function () {
var $lzsc$temp = function (name_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["name", name_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$4.lineno = 277;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var val_$1 = this.scrolldiv[name_$0];
if (this[name_$0] !== val_$1 || name_$0 == "scrollHeight") {
this[name_$0] = val_$1;
$4.lineno = 287, this.owner.scrollevent(name_$0, val_$1)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#277/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 277;
return $lzsc$temp
})();
LzTextSprite.prototype.setText = (function () {
var $lzsc$temp = function (t_$0, force_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["t", t_$0, "force", force_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$4.lineno = 291;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.multiline && t_$0 && ($4.lineno = 299, t_$0.indexOf("\n")) >= 0) {
if (this.quirks["inner_html_strips_newlines"]) {
t_$0 = ($4.lineno = 301, t_$0.replace(this.inner_html_strips_newlines_re, "<br/>"))
}};
if (t_$0 && this.quirks["inner_html_no_entity_apos"]) {
t_$0 = ($4.lineno = 305, t_$0.replace(($4.lineno = 305, RegExp("&apos;", "mg")), "&#39;"))
};
if (force_$1 != true && this.text == t_$0) return;
this.text = t_$0;
this.scrolldiv.innerHTML = t_$0;
$4.lineno = 316, this.__updatefieldsize();
if (this.resize && this.multiline == false) {
$4.lineno = 318, this.setWidth(($4.lineno = 318, this.getTextWidth()))
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#291/34";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 291;
return $lzsc$temp
})();
LzTextSprite.prototype.setMultiline = (function () {
var $lzsc$temp = function (m_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["m", m_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 322;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
m_$0 = m_$0 == true;
if (this.multiline == m_$0) return;
this.multiline = m_$0;
if (m_$0) {
if (this._whiteSpace != "normal") {
this._whiteSpace = "normal";
this.scrolldiv.style.whiteSpace = "normal"
};
this.scrolldiv.style.overflow = "hidden"
} else {
if (this._whiteSpace != "nowrap") {
this._whiteSpace = "nowrap";
this.scrolldiv.style.whiteSpace = "nowrap"
};
this.scrolldiv.style.overflow = ""
};
if (this.quirks["text_height_includes_padding"]) {
this.__hpadding = m_$0 ? 3 : 4
};
$3.lineno = 345, this.setText(this.text, true)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#322/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 322;
return $lzsc$temp
})();
LzTextSprite.prototype.setPattern = (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 348;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (val_$0 == null || val_$0 == "") {
this.restrict = null
} else if ($3.lineno = 351, ($3.lineno = 351, RegExp("^\\[.*\\]\\*$")).test(val_$0)) {
this.restrict = ($3.lineno = 353, RegExp(($3.lineno = 353, val_$0.substring(0, val_$0.length - 1)) + "|[\\r\\n]", "g"))
} else {
$3.lineno = 355, Debug.warn('LzTextSprite.setPattern argument %w must be of the form "[...]*"', val_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#348/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 348;
return $lzsc$temp
})();
LzTextSprite.prototype.getTextWidth = (function () {
var $lzsc$temp = function () {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = [];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$8.lineno = 365;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var width_$0;
var scrolldiv_$1 = this.scrolldiv;
var className_$2 = scrolldiv_$1.className;
var style_$3 = scrolldiv_$1.style.cssText;
var styleKey_$4 = className_$2 + "/" + style_$3;
var cv_$5 = this._cachevalue;
if (this._cacheStyleKey == styleKey_$4 && this._cacheTextKey == this.text && ("width" in cv_$5)) {
width_$0 = cv_$5.width
} else {
width_$0 = ($8.lineno = 382, this.getTextDimension("width"))
};
if (width_$0 != 0 && this.quirks["emulate_flash_font_metrics"]) {
width_$0 += this.__wpadding
};
return width_$0
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#365/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 365;
return $lzsc$temp
})();
LzTextSprite.prototype.getLineHeight = (function () {
var $lzsc$temp = function () {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = [];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$8.lineno = 390;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
if (this._lineHeight) return this._lineHeight;
var scrolldiv_$0 = this.scrolldiv;
var className_$1 = scrolldiv_$0.className;
var style_$2 = scrolldiv_$0.style.cssText;
var styleKey_$3 = className_$1 + "/" + style_$2;
var cv_$4 = this._cachevalue;
if (this._cacheStyleKey == styleKey_$3 && ("lineheight" in cv_$4)) {
var lineheight_$5 = cv_$4.lineheight
} else {
var lineheight_$5 = ($8.lineno = 407, this.getTextDimension("lineheight"))
};
return lineheight_$5
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#390/40";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 390;
return $lzsc$temp
})();
LzTextSprite.prototype.getTextHeight = LzTextSprite.prototype.getLineHeight;
LzTextSprite.prototype.getTextfieldHeight = (function () {
var $lzsc$temp = function () {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = [];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$8.lineno = 416;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var fieldHeight_$0 = null;
if (this.multiline && this.text != "") {
var scrolldiv_$1 = this.scrolldiv;
var className_$2 = scrolldiv_$1.className;
var style_$3 = scrolldiv_$1.style.cssText;
var styleKey_$4 = className_$2 + "/" + style_$3;
var cv_$5 = this._cachevalue;
if (this._cacheStyleKey == styleKey_$4 && this._cacheTextKey == this.text && ("height" in cv_$5)) {
fieldHeight_$0 = cv_$5.height
} else {
fieldHeight_$0 = ($8.lineno = 438, this.getTextDimension("height"))
};
if (this.quirks["safari_textarea_subtract_scrollbar_height"]) {
fieldHeight_$0 += 24
}} else {
fieldHeight_$0 = ($8.lineno = 442, this.getLineHeight())
};
if (this.quirks["emulate_flash_font_metrics"]) {
fieldHeight_$0 += this.__hpadding
};
return fieldHeight_$0
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#416/45";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 416;
return $lzsc$temp
})();
LzTextSprite.prototype._sizecache = {counter: 0};
if (LzSprite.quirks.ie_leak_prevention) {
LzTextSprite.prototype.__divstocleanup = [];
LzTextSprite.prototype.__cleanupdivs = (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$6.lineno = 458;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var obj_$0 = LzTextSprite.prototype.__divstocleanup;
var func_$1 = LzSprite.prototype.__discardElement;
var l_$2 = obj_$0.length;
for (var i_$3 = 0;i_$3 < l_$2;i_$3++) {
$6.lineno = 463, func_$1(obj_$0[i_$3])
};
LzTextSprite.prototype.__divstocleanup = []
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#458/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 458;
return $lzsc$temp
})()
};
LzTextSprite.prototype._cacheStyleKey = null;
LzTextSprite.prototype._cacheTextKey = null;
LzTextSprite.prototype._cachevalue = null;
LzTextSprite.prototype.getTextDimension = (function () {
var $lzsc$temp = function (dimension_$0) {
var $f = Debug;
var $g = $f.backtraceStack;
try {
if ($g) {
var $h = ["dimension", dimension_$0];
$h.callee = arguments.callee;
$h["this"] = this;
$h.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$h.lineno = 479;
$g.push($h);
if ($g.length > $g.maxDepth) {
$f.stackOverflow()
}};
var string_$1 = this.text;
var width_$2 = "auto";
switch (dimension_$0) {
case "lineheight":
if (this._lineHeight) {
return this._lineHeight
}string_$1 = 'Yq_gy"9;';break;;case "height":
width_$2 = ($h.lineno = 494, this.CSSDimension(this.width));break;;case "width":
if (this.text == "") {
return 0
}break;;default:
{
$h.lineno = 501, Debug.error("Unknown dimension: %w", dimension_$0)
}};
var scrolldiv_$3 = this.scrolldiv;
var className_$4 = scrolldiv_$3.className;
var style_$5 = scrolldiv_$3.style.cssText;
var styleKey_$6 = className_$4 + "/" + style_$5;
var cv_$7 = this._cachevalue;
if (this._cacheStyleKey == styleKey_$6 && (dimension_$0 == "lineheight" || this._cacheTextKey == string_$1) && (dimension_$0 in cv_$7)) {
return cv_$7[dimension_$0]
};
this._cacheStyleKey = styleKey_$6;
if (dimension_$0 != "lineheight") {
this._cacheTextKey = string_$1
};
var sds_$8 = scrolldiv_$3.style;
style_$5 = "overflow: visible; width: " + width_$2 + "; height: auto; " + (sds_$8.fontSize ? "font-size: " + sds_$8.fontSize + "; " : "") + (sds_$8.fontWeight ? "font-weight: " + sds_$8.fontWeight + "; " : "") + (sds_$8.fontStyle ? "font-style: " + sds_$8.fontStyle + "; " : "") + (sds_$8.fontFamily ? "font-family: " + sds_$8.fontFamily + "; " : "") + (sds_$8.lineHeight ? "line-height: " + sds_$8.lineHeight + "; " : "") + (sds_$8.letterSpacing ? "letter-spacing: " + sds_$8.letterSpacing + "; " : "") + (sds_$8.whiteSpace ? "white-space: " + sds_$8.whiteSpace + "; " : "");
var cacheFullKey_$9 = className_$4 + "/" + style_$5 + "{" + string_$1 + "}";
var ltsp_$a = LzTextSprite.prototype;
var _sizecache_$b = ltsp_$a._sizecache;
var cv_$7 = this._cachevalue = _sizecache_$b[cacheFullKey_$9];
if (cv_$7 && (dimension_$0 in cv_$7)) {
return cv_$7[dimension_$0]
};
var root_$c = ($h.lineno = 548, document.getElementById("lzTextSizeCache"));
if (_sizecache_$b.counter > 0 && _sizecache_$b.counter % this.__sizecacheupperbound == 0) {
$h.lineno = 550, this.__clearMeasureCache();
cv_$7 = null
};
if (!cv_$7) {
cv_$7 = this._cachevalue = _sizecache_$b[cacheFullKey_$9] = {}};
var mdivKey_$d = className_$4 + "/" + style_$5 + "div";
var mdiv_$e = _sizecache_$b[mdivKey_$d];
if (mdiv_$e) {
$h.lineno = 564, this.__setTextContent(mdiv_$e, scrolldiv_$3.tagName, string_$1)
} else {
var mdiv_$e = ($h.lineno = 567, this.__createMeasureDiv(className_$4, style_$5, string_$1));
_sizecache_$b[mdivKey_$d] = mdiv_$e
};
mdiv_$e.style.display = "inline";
cv_$7[dimension_$0] = dimension_$0 == "width" ? mdiv_$e.clientWidth : mdiv_$e.clientHeight;
mdiv_$e.style.display = "none";
return cv_$7[dimension_$0]
}
finally {
if ($g) {
$g.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#479/43";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 479;
return $lzsc$temp
})();
LzTextSprite.prototype.__clearMeasureCache = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 579;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var root_$0 = ($3.lineno = 580, document.getElementById("lzTextSizeCache"));
LzTextSprite.prototype._sizecache = {counter: 0};
if (LzSprite.quirks.ie_leak_prevention) {
$3.lineno = 583, LzTextSprite.prototype.__cleanupdivs()
};
if (root_$0) {
root_$0.innerHTML = ""
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#579/46";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 579;
return $lzsc$temp
})();
LzTextSprite.prototype.__createMeasureDiv = (function () {
var $lzsc$temp = function (className_$0, style_$1, string_$2) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["className", className_$0, "style", style_$1, "string", string_$2];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$b.lineno = 588;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
var root_$3 = ($b.lineno = 589, document.getElementById("lzTextSizeCache"));
var tagname_$4 = "div";
var ltsp_$5 = LzTextSprite.prototype;
var _sizecache_$6 = ltsp_$5._sizecache;
if (this.quirks["text_measurement_use_insertadjacenthtml"]) {
var html_$7 = "<" + tagname_$4 + ' id="testSpan' + _sizecache_$6.counter + '"';
html_$7 += ' class="' + className_$0 + '"';
html_$7 += ' style="' + style_$1 + '">';
html_$7 += string_$2;
html_$7 += "</" + tagname_$4 + ">";
$b.lineno = 599, root_$3.insertAdjacentHTML("beforeEnd", html_$7);
var mdiv_$8 = document.all["testSpan" + _sizecache_$6.counter];
if (this.quirks.ie_leak_prevention) {
$b.lineno = 602, ltsp_$5.__divstocleanup.push(mdiv_$8)
}} else {
var mdiv_$8 = ($b.lineno = 605, document.createElement(tagname_$4));
$b.lineno = 608, lz.embed.__setAttr(mdiv_$8, "class", className_$0);
$b.lineno = 609, lz.embed.__setAttr(mdiv_$8, "style", style_$1);
$b.lineno = 610, this.__setTextContent(mdiv_$8, this.scrolldiv.tagName, string_$2);
$b.lineno = 611, root_$3.appendChild(mdiv_$8)
};
_sizecache_$6.counter++;
return mdiv_$8
}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#588/45";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 588;
return $lzsc$temp
})();
LzTextSprite.prototype.__setTextContent = (function () {
var $lzsc$temp = function (mdiv_$0, tagname_$1, string_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["mdiv", mdiv_$0, "tagname", tagname_$1, "string", string_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$5.lineno = 617;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (tagname_$1) {
case "DIV":
mdiv_$0.innerHTML = string_$2;break;;case "INPUT":
case "TEXTAREA":
if (this.quirks["text_content_use_inner_text"]) {
mdiv_$0.innerText = string_$2
} else {
mdiv_$0.textContent = string_$2
}break;;default:
{
$5.lineno = 634, Debug.error("Unknown tagname: %w", tagname_$1)
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#617/43";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 617;
return $lzsc$temp
})();
LzTextSprite.prototype.setSelectable = (function () {
var $lzsc$temp = function (s_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["s", s_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$4.lineno = 639;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.selectable = s_$0;
var browser_$1 = lz.embed.browser;
if (s_$0) {
this.__LZdiv.style["cursor"] = "auto";
if (browser_$1.isIE) {
this.__LZdiv.onselectstart = null
} else if (browser_$1.isFirefox) {
this.__LZdiv.style["MozUserSelect"] = "text"
} else if (browser_$1.isSafari) {
this.__LZdiv.style["WebkitUserSelect"] = "text"
} else {
this.__LZdiv.style["UserSelect"] = "text"
}} else {
this.__LZdiv.style["cursor"] = "";
if (browser_$1.isIE) {
this.__LZdiv.onselectstart = LzTextSprite.prototype.__cancelhandler
} else if (browser_$1.isFirefox) {
this.__LZdiv.style["MozUserSelect"] = "none"
} else if (browser_$1.isSafari) {
this.__LZdiv.style["WebkitUserSelect"] = "none"
} else {
this.__LZdiv.style["UserSelect"] = "none"
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#639/40";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 639;
return $lzsc$temp
})();
LzTextSprite.prototype.__cancelhandler = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$2.lineno = 669;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return false
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#669/42";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 669;
return $lzsc$temp
})();
LzTextSprite.prototype.setResize = (function () {
var $lzsc$temp = function (r_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["r", r_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 673;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.resize = r_$0 == true;
this.scrolldiv.style.overflow = this.resize ? "" : "hidden"
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#673/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 673;
return $lzsc$temp
})();
LzTextSprite.prototype.setSelection = (function () {
var $lzsc$temp = function (start_$0, end_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["start", start_$0, "end", end_$1];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$9.lineno = 678;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
switch (arguments.length) {
case 1:
end_$1 = null
};
if (end_$1 == null) {
end_$1 = start_$0
};
if (this.quirks["text_selection_use_range"]) {
var range_$2 = ($9.lineno = 682, document.body.createTextRange());
$9.lineno = 684, range_$2.moveToElementText(this.scrolldiv);
if (start_$0 > end_$1) {
var st_$3 = start_$0;
start_$0 = end_$1;
end_$1 = st_$3
};
var st_$3 = start_$0;
var ed_$4 = end_$1 - range_$2.text.length;
$9.lineno = 694, range_$2.moveStart("character", st_$3);
$9.lineno = 695, range_$2.moveEnd("character", ed_$4);
$9.lineno = 696, range_$2.select()
} else {
var range_$2 = ($9.lineno = 698, document.createRange());
var offset_$5 = 0;
$9.lineno = 702, range_$2.setStart(this.scrolldiv.childNodes[0], start_$0);
$9.lineno = 703, range_$2.setEnd(this.scrolldiv.childNodes[0], end_$1);
var sel_$6 = ($9.lineno = 704, window.getSelection());
$9.lineno = 705, sel_$6.removeAllRanges();
$9.lineno = 706, sel_$6.addRange(range_$2)
}}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#678/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 678;
return $lzsc$temp
})();
LzTextSprite.prototype.__findNodeByOffset = (function () {
var $lzsc$temp = function (offset_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["offset", offset_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$5.lineno = 711;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var node_$1 = this.scrolldiv.childNodes[0];
var curroffset_$2 = 0;
while (node_$1) {
if (node_$1.nodeType == 3) {
offset_$0 += node_$1.textContent.length
} else if (node_$1.nodeType == 1 && node_$1.nodeName == "BR") {
offset_$0 += 1
};
if (curroffset_$2 >= offset_$0) {
return node_$1
};
node_$1 = node_$1.nextSibling
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#711/45";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 711;
return $lzsc$temp
})();
LzTextSprite.prototype.__getGlobalRange = (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$6.lineno = 728;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var browser_$0 = lz.embed.browser;
var userSelection_$1;
if (this.quirks["text_selection_use_range"]) {
userSelection_$1 = ($6.lineno = 733, document.selection.createRange())
} else if (window.getSelection) {
userSelection_$1 = ($6.lineno = 735, window.getSelection())
};
try {
if (userSelection_$1) {
if (this.quirks["text_selection_use_range"]) {
return userSelection_$1
} else if (userSelection_$1.getRangeAt) {
return $6.lineno = 743, userSelection_$1.getRangeAt(0)
} else {
var range_$2 = ($6.lineno = 745, document.createRange());
$6.lineno = 746, range_$2.setStart(userSelection_$1.anchorNode, userSelection_$1.anchorOffset);
$6.lineno = 747, range_$2.setEnd(userSelection_$1.focusNode, userSelection_$1.focusOffset);
return range_$2
}}}
catch (e_$3) {}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#728/43";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 728;
return $lzsc$temp
})();
LzTextSprite.prototype.__textareaToRange = (function () {
var $lzsc$temp = function (textarea_$0) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["textarea", textarea_$0];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$9.lineno = 756;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var bookmark_$1 = ($9.lineno = 757, textarea_$0.getBookmark());
var contents_$2, originalContents_$3;
originalContents_$3 = contents_$2 = this.scrolldiv.innerHTML;
var owner_$4 = ($9.lineno = 761, this.__getRangeOwner(textarea_$0));
if (!(owner_$4 instanceof LzTextSprite)) {
return
};
do {
var marker_$5 = "~~~" + ($9.lineno = 768, Math.random()) + "~~~"
} while (($9.lineno = 769, contents_$2.indexOf(marker_$5)) != -1);
textarea_$0.text = marker_$5 + textarea_$0.text + marker_$5;
contents_$2 = this.scrolldiv.innerHTML;
contents_$2 = ($9.lineno = 775, contents_$2.replace("<BR>", " "));
var range_$6 = {};
range_$6.startOffset = ($9.lineno = 777, contents_$2.indexOf(marker_$5));
contents_$2 = ($9.lineno = 778, contents_$2.replace(marker_$5, ""));
range_$6.endOffset = ($9.lineno = 779, contents_$2.indexOf(marker_$5));
this.scrolldiv.innerHTML = originalContents_$3;
$9.lineno = 782, textarea_$0.moveToBookmark(bookmark_$1);
$9.lineno = 783, textarea_$0.select();
return range_$6
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#756/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 756;
return $lzsc$temp
})();
LzTextSprite.prototype.__getRangeOwner = (function () {
var $lzsc$temp = function (range_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["range", range_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 789;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!range_$0) return;
if (this.quirks["text_selection_use_range"]) {
var range_$0 = ($3.lineno = 792, range_$0.duplicate());
$3.lineno = 793, range_$0.collapse();
return ($3.lineno = 794, range_$0.parentElement()).owner
} else {
if (range_$0.startContainer.parentNode == range_$0.endContainer.parentNode) return range_$0.startContainer.parentNode.owner
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#789/42";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 789;
return $lzsc$temp
})();
LzTextSprite.prototype.__getOffset = (function () {
var $lzsc$temp = function (node_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["node", node_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$4.lineno = 801;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var offset_$1 = 0;
while (node_$0 = node_$0.previousSibling) {
if (node_$0.nodeType == 3) {
offset_$1 += node_$0.textContent.length
} else if (node_$0.nodeType == 1 && node_$0.nodeName == "BR") {
offset_$1 += 1
}};
return offset_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#801/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 801;
return $lzsc$temp
})();
LzTextSprite.prototype.getSelectionPosition = (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$4.lineno = 814;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var range_$0 = ($4.lineno = 815, this.__getGlobalRange());
if (($4.lineno = 816, this.__getRangeOwner(range_$0)) === this) {
if (this.quirks["text_selection_use_range"]) {
range_$0 = ($4.lineno = 818, this.__textareaToRange(range_$0));
return range_$0.startOffset
} else {
var offset_$1 = 0;
if (this.multiline) {
offset_$1 = ($4.lineno = 823, this.__getOffset(range_$0.startContainer))
};
return range_$0.startOffset + offset_$1
}} else {
return -1
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#814/47";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 814;
return $lzsc$temp
})();
LzTextSprite.prototype.getSelectionSize = (function () {
var $lzsc$temp = function () {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = [];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$5.lineno = 832;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var range_$0 = ($5.lineno = 833, this.__getGlobalRange());
if (($5.lineno = 834, this.__getRangeOwner(range_$0)) === this) {
if (this.quirks["text_selection_use_range"]) {
range_$0 = ($5.lineno = 836, this.__textareaToRange(range_$0))
} else {
if (this.multiline) {
var startoffset_$1 = ($5.lineno = 839, this.__getOffset(range_$0.startContainer));
var endoffset_$2 = ($5.lineno = 840, this.__getOffset(range_$0.endContainer));
return range_$0.endOffset + endoffset_$2 - (range_$0.startOffset + startoffset_$1)
}};
return range_$0.endOffset - range_$0.startOffset
} else {
return -1
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#832/43";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 832;
return $lzsc$temp
})();
LzTextSprite.prototype.getScroll = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$2.lineno = 850;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 853, Debug.warn("LzTextSprite.getScroll is not implemented yet.")
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#850/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 850;
return $lzsc$temp
})();
LzTextSprite.prototype.getMaxScroll = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$2.lineno = 857;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 860, Debug.warn("LzTextSprite.getMaxScroll is not implemented yet.")
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#857/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 857;
return $lzsc$temp
})();
LzTextSprite.prototype.setScroll = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$2.lineno = 864;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 867, Debug.warn("LzTextSprite.setScroll is not implemented yet.")
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#864/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 864;
return $lzsc$temp
})();
LzTextSprite.prototype.setYScroll = (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 871;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.scrolldiv.scrollTop = this.scrollTop = -n_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#871/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 871;
return $lzsc$temp
})();
LzTextSprite.prototype.setXScroll = (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 875;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.scrolldiv.scrollLeft = this.scrollLeft = -n_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#875/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 875;
return $lzsc$temp
})();
LzTextSprite.prototype.setX = (function () {
var $lzsc$temp = function (x_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["x", x_$0];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$8.lineno = 880;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var scrolling_$1 = this.scrolling;
var turd_$2 = scrolling_$1 && this.quirks["clipped_scrollbar_causes_display_turd"];
if (scrolling_$1) {
var scrolldiv_$3 = this.scrolldiv;
var oldLeft_$4 = scrolldiv_$3.scrollLeft;
var oldTop_$5 = scrolldiv_$3.scrollTop;
if (turd_$2) {
scrolldiv_$3.style.overflow = "hidden";
scrolldiv_$3.style.paddingRight = scrolldiv_$3.style.paddingBottom = this.quirks.scrollbar_width
}};
$8.lineno = 892, LzSprite.prototype.setX.call(this, x_$0);
if (scrolling_$1) {
if (turd_$2) {
scrolldiv_$3.style.overflow = "scroll";
scrolldiv_$3.style.paddingRight = scrolldiv_$3.style.paddingBottom = "0"
};
scrolldiv_$3.scrollLeft = oldLeft_$4;
scrolldiv_$3.scrollTop = oldTop_$5
}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#880/31";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 880;
return $lzsc$temp
})();
LzTextSprite.prototype.setY = (function () {
var $lzsc$temp = function (y_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["y", y_$0];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$8.lineno = 903;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var scrolling_$1 = this.scrolling;
var turd_$2 = scrolling_$1 && this.quirks["clipped_scrollbar_causes_display_turd"];
if (scrolling_$1) {
var scrolldiv_$3 = this.scrolldiv;
var oldLeft_$4 = scrolldiv_$3.scrollLeft;
var oldTop_$5 = scrolldiv_$3.scrollTop;
if (turd_$2) {
scrolldiv_$3.style.overflow = "hidden";
scrolldiv_$3.style.paddingRight = scrolldiv_$3.style.paddingBottom = this.quirks.scrollbar_width
}};
$8.lineno = 915, LzSprite.prototype.setY.call(this, y_$0);
if (scrolling_$1) {
if (turd_$2) {
scrolldiv_$3.style.overflow = "scroll";
scrolldiv_$3.style.paddingRight = scrolldiv_$3.style.paddingBottom = "0"
};
scrolldiv_$3.scrollLeft = oldLeft_$4;
scrolldiv_$3.scrollTop = oldTop_$5
}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#903/31";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 903;
return $lzsc$temp
})();
LzTextSprite.prototype.setWidth = (function () {
var $lzsc$temp = function (w_$0, force_$1) {
var $b = Debug;
var $c = $b.backtraceStack;
try {
if ($c) {
var $d = ["w", w_$0, "force", force_$1];
$d.callee = arguments.callee;
$d["this"] = this;
$d.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$d.lineno = 926;
$c.push($d);
if ($c.length > $c.maxDepth) {
$b.stackOverflow()
}};
if (w_$0 == null || w_$0 < 0 || ($d.lineno = 927, isNaN(w_$0))) return;
var nw_$2 = ($d.lineno = 929, LzSprite.prototype.setWidth.call(this, w_$0));
var wt_$3 = w_$0 >= this.__wpadding ? w_$0 - this.__wpadding : 0;
var scrolldiv_$4 = this.scrolldiv;
var style_$5 = scrolldiv_$4.style;
var cdim_$6 = this.CSSDimension;
var wp_$7 = ($d.lineno = 936, cdim_$6(wt_$3));
var h_$8 = this.height;
var hp_$9 = ($d.lineno = 939, cdim_$6(h_$8 != null ? h_$8 : 0));
if (this.scrolling) {
wt_$3 += this.quirks.scrollbar_width
};
var wtInd_$a = this.__LZtextIndent < 0 ? -1 * this.__LZtextIndent : 0;
if (wt_$3 >= wtInd_$a) {
wt_$3 -= wtInd_$a
};
wp_$7 = ($d.lineno = 949, cdim_$6(wt_$3));
if (style_$5.width != wp_$7) {
scrolldiv_$4.style.width = wp_$7;
if (this.scrolling) {
scrolldiv_$4.style.clip = "rect(0 " + wp_$7 + " " + hp_$9 + " 0)"
};
$d.lineno = 957, this.__updatefieldsize()
};
return nw_$2
}
finally {
if ($c) {
$c.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#926/35";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 926;
return $lzsc$temp
})();
LzTextSprite.prototype.setHeight = (function () {
var $lzsc$temp = function (h_$0) {
var $a = Debug;
var $b = $a.backtraceStack;
try {
if ($b) {
var $c = ["h", h_$0];
$c.callee = arguments.callee;
$c["this"] = this;
$c.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$c.lineno = 962;
$b.push($c);
if ($b.length > $b.maxDepth) {
$a.stackOverflow()
}};
if (h_$0 == null || h_$0 < 0 || ($c.lineno = 963, isNaN(h_$0))) return;
var nh_$1 = ($c.lineno = 965, LzSprite.prototype.setHeight.call(this, h_$0));
var ht_$2 = h_$0;
var scrolldiv_$3 = this.scrolldiv;
var sdc_$4 = scrolldiv_$3.className;
var style_$5 = scrolldiv_$3.style;
var cdim_$6 = this.CSSDimension;
var w_$7 = this.width;
var wp_$8 = ($c.lineno = 975, cdim_$6(w_$7 != null ? w_$7 : 0));
var hp_$9 = ($c.lineno = 976, cdim_$6(ht_$2));
if (this.scrolling || sdc_$4 == "lzswfinputtextmultiline") {
ht_$2 += this.quirks.scrollbar_width
};
hp_$9 = ($c.lineno = 985, cdim_$6(ht_$2));
if (style_$5.height != hp_$9) {
scrolldiv_$3.style.height = ($c.lineno = 988, cdim_$6(ht_$2));
if (this.scrolling) {
scrolldiv_$3.style.clip = "rect(0 " + wp_$8 + " " + hp_$9 + " 0)"
};
$c.lineno = 993, this.__updatefieldsize()
};
return nh_$1
}
finally {
if ($b) {
$b.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#962/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 962;
return $lzsc$temp
})();
LzTextSprite.prototype.enableClickableLinks = (function () {
var $lzsc$temp = function (enabled_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["enabled", enabled_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 1004;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#1004/47";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1004;
return $lzsc$temp
})();
LzTextSprite.prototype.makeTextLink = (function () {
var $lzsc$temp = function (str_$0, value_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["str", str_$0, "value", value_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$5.lineno = 1007;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
$5.lineno = 1008, LzTextSprite.addLinkID(this);
var uid_$2 = this.uid;
return '<span class="lztextlink" onclick="javascript:$modules.lz.__callTextLink(\'' + uid_$2 + "', '" + value_$1 + "')\">" + str_$0 + "</span>"
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#1007/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1007;
return $lzsc$temp
})();
$modules.lz.__callTextLink = (function () {
var $lzsc$temp = function (spriteID_$0, val_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["spriteID", spriteID_$0, "val", val_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$5.lineno = 1014;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var sprite_$2 = LzTextSprite.linkIDMap[spriteID_$0];
if (sprite_$2 != null) {
$5.lineno = 1017, sprite_$2.owner.ontextlink.sendEvent(val_$1)
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#1014/30";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1014;
return $lzsc$temp
})();
LzTextSprite.linkIDMap = [];
LzTextSprite.addLinkID = (function () {
var $lzsc$temp = function (sprite_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sprite", sprite_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 1026;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
LzTextSprite.linkIDMap[sprite_$0.uid] = sprite_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#1026/26";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1026;
return $lzsc$temp
})();
LzTextSprite.deleteLinkID = (function () {
var $lzsc$temp = function (UID_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["UID", UID_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 1031;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
delete LzTextSprite.linkIDMap[UID_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#1031/29";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1031;
return $lzsc$temp
})();
LzTextSprite.prototype.destroy = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$2.lineno = 1035;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 1036, LzTextSprite.deleteLinkID(($2.lineno = 1036, this.owner.getUID()));
$2.lineno = 1037, LzSprite.prototype.destroy.call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#1035/34";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1035;
return $lzsc$temp
})();
LzTextSprite.prototype.setTextAlign = (function () {
var $lzsc$temp = function (align_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["align", align_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 1040;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this._textAlign != align_$0) {
this._textAlign = align_$0;
this.scrolldiv.style.textAlign = align_$0
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#1040/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1040;
return $lzsc$temp
})();
LzTextSprite.prototype.setTextIndent = (function () {
var $lzsc$temp = function (indent_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["indent", indent_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$5.lineno = 1047;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var indentPx_$1 = ($5.lineno = 1049, this.CSSDimension(indent_$0));
if (this._textIndent != indentPx_$1) {
var negInd_$2 = indent_$0 < 0 || this.__LZtextIndent < 0;
this._textIndent = indentPx_$1;
this.__LZtextIndent = indent_$0;
this.scrolldiv.style.textIndent = indentPx_$1;
if (negInd_$2) {
this.scrolldiv.style.paddingLeft = indent_$0 >= 0 ? "" : ($5.lineno = 1057, indentPx_$1.substr(1));
$5.lineno = 1059, this.setWidth(this.width, true)
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#1047/40";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1047;
return $lzsc$temp
})();
LzTextSprite.prototype.setLetterSpacing = (function () {
var $lzsc$temp = function (spacing_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["spacing", spacing_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 1064;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
spacing_$0 = ($3.lineno = 1066, this.CSSDimension(spacing_$0));
if (this._letterSpacing != spacing_$0) {
this._letterSpacing = spacing_$0;
this.scrolldiv.style.letterSpacing = spacing_$0
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#1064/43";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1064;
return $lzsc$temp
})();
LzTextSprite.prototype.setTextDecoration = (function () {
var $lzsc$temp = function (decoration_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["decoration", decoration_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$3.lineno = 1073;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this._textDecoration != decoration_$0) {
this._textDecoration = decoration_$0;
this.scrolldiv.style.textDecoration = decoration_$0
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#1073/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1073;
return $lzsc$temp
})();
LzTextSprite.prototype.getDisplayObject = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$2.lineno = 1080;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.scrolldiv
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#1080/43";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1080;
return $lzsc$temp
})();
LzTextSprite.prototype.updateShadow = (function () {
var $lzsc$temp = function (shadowcolor_$0, shadowdistance_$1, shadowangle_$2, shadowblurradius_$3) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["shadowcolor", shadowcolor_$0, "shadowdistance", shadowdistance_$1, "shadowangle", shadowangle_$2, "shadowblurradius", shadowblurradius_$3];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/dhtml/LzTextSprite.js";
$7.lineno = 1084;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var cssString_$4 = ($7.lineno = 1085, this.__getShadowCSS(shadowcolor_$0, shadowdistance_$1, shadowangle_$2, shadowblurradius_$3));
this.scrolldiv.style.textShadow = cssString_$4;
this.shadow = cssString_$4;
this.scrolldiv.style.overflow = ""
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTextSprite.js#1084/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1084;
return $lzsc$temp
})();
var LzInputTextSprite = (function () {
var $lzsc$temp = function (owner_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["owner", owner_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 12;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (owner_$0 == null) return;
this.constructor = arguments.callee;
this.owner = owner_$0;
this.uid = LzSprite.prototype.uid++;
this.__LZdiv = ($3.lineno = 17, document.createElement("div"));
this.__LZdiv.className = "lzinputtextcontainer";
this.__LZdiv.owner = this;
this.dragging = false;
if (this.quirks.fix_clickable) {
this.__LZclickcontainerdiv = ($3.lineno = 22, document.createElement("div"));
this.__LZclickcontainerdiv.className = "lzinputtextcontainer_click";
this.__LZclickcontainerdiv.owner = this
};
if (this.quirks.ie_leak_prevention) {
this.__sprites[this.uid] = this
};
$3.lineno = 30, this.__createInputText()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#12/25";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 12;
return $lzsc$temp
})();
LzInputTextSprite.prototype = new LzTextSprite(null);
LzInputTextSprite.prototype._dbg_typename = "LzInputTextSprite";
LzInputTextSprite.prototype.__lastshown = null;
LzInputTextSprite.prototype.__focusedSprite = null;
LzInputTextSprite.prototype.__lastfocus = null;
LzInputTextSprite.prototype._cancelfocus = false;
LzInputTextSprite.prototype._cancelblur = false;
LzInputTextSprite.prototype.____crregexp = new RegExp("\\r\\n", "g");
LzInputTextSprite.prototype.__createInputText = (function () {
var $lzsc$temp = function (t_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["t", t_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$5.lineno = 73;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (this.__LzInputDiv) return;
var type_$1 = "";
if (this.owner) {
if (this.owner.password) {
type_$1 = "password"
} else if (this.owner.multiline) {
type_$1 = "multiline"
}};
$5.lineno = 84, this.__createInputDiv(type_$1);
if (t_$0 == null) t_$0 = "";
$5.lineno = 86, lz.embed.__setAttr(this.__LzInputDiv, "value", t_$0);
if (this.quirks.fix_clickable) {
if (this.quirks.fix_ie_clickable) {
this.__LZinputclickdiv = ($5.lineno = 90, document.createElement("img"));
this.__LZinputclickdiv.src = LzSprite.blankimage
} else {
this.__LZinputclickdiv = ($5.lineno = 93, document.createElement("div"))
};
this.__LZinputclickdiv.className = "lzclickdiv";
this.__LZinputclickdiv.owner = this;
if (this.quirks.ie_mouse_events) {
this.__LZinputclickdiv.onmouseenter = this.__handlemouse
} else {
this.__LZinputclickdiv.onmouseover = this.__handlemouse
};
if (this.quirks.input_highlight_bug) {
var ffoxdiv_$2 = ($5.lineno = 114, document.createElement("div"));
ffoxdiv_$2.style.backgroundColor = "white";
ffoxdiv_$2.style.width = "0px";
$5.lineno = 117, this.__LZclickcontainerdiv.appendChild(ffoxdiv_$2);
$5.lineno = 118, ffoxdiv_$2.appendChild(this.__LZinputclickdiv)
} else {
$5.lineno = 120, this.__LZclickcontainerdiv.appendChild(this.__LZinputclickdiv)
}};
$5.lineno = 124, this.__LZdiv.appendChild(this.__LzInputDiv);
$5.lineno = 127, this.__setTextEvents(true)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#73/49";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 73;
return $lzsc$temp
})();
LzInputTextSprite.prototype.__createInputDiv = (function () {
var $lzsc$temp = function (type_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["type", type_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 130;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (type_$0 === "password") {
this.multiline = false;
this.__LzInputDiv = ($3.lineno = 133, document.createElement("input"));
this.__LZdiv.className = "lzinputtextcontainer";
$3.lineno = 135, lz.embed.__setAttr(this.__LzInputDiv, "type", "password")
} else if (type_$0 === "multiline") {
this.multiline = true;
this.__LzInputDiv = ($3.lineno = 138, document.createElement("textarea"));
this.__LZdiv.className = "lzinputtextmultilinecontainer"
} else {
this.multiline = false;
this.__LzInputDiv = ($3.lineno = 142, document.createElement("input"));
this.__LZdiv.className = "lzinputtextcontainer";
$3.lineno = 144, lz.embed.__setAttr(this.__LzInputDiv, "type", "text")
};
if (this.quirks.fix_clickable) {
this.__LZclickcontainerdiv.className = this.__LZdiv.className + "_click"
};
if (this.quirks.firefox_autocomplete_bug) {
$3.lineno = 151, lz.embed.__setAttr(this.__LzInputDiv, "autocomplete", "off")
};
this.__LzInputDiv.owner = this;
if (this.quirks.emulate_flash_font_metrics) {
if (this.multiline) {
this.__LzInputDiv.className = "lzswfinputtextmultiline"
} else {
this.__LzInputDiv.className = "lzswfinputtext"
}} else {
this.__LzInputDiv.className = "lzinputtext"
};
if (this.owner) {
$3.lineno = 164, lz.embed.__setAttr(this.__LzInputDiv, "name", this.owner.name)
};
this.scrolldiv = this.__LzInputDiv;
this.scrolldiv.owner = this;
$3.lineno = 170, this.setScrolling(this.multiline)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#130/48";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 130;
return $lzsc$temp
})();
LzInputTextSprite.prototype.setMultiline = (function () {
var $lzsc$temp = function (ml_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["ml", ml_$0];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$8.lineno = 174;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var oldval_$1 = this.multiline;
this.multiline = ml_$0 == true;
if (oldval_$1 != null && this.multiline != oldval_$1) {
var olddiv_$2 = this.__LzInputDiv;
$8.lineno = 181, this.__setTextEvents(false);
$8.lineno = 183, this.__createInputDiv(ml_$0 ? "multiline" : "");
var newdiv_$3 = this.__LzInputDiv;
$8.lineno = 189, lz.embed.__setAttr(newdiv_$3, "style", olddiv_$2.style.cssText);
if (this.quirks["fix_ie_css_syntax"]) {
newdiv_$3.style.fontStyle = olddiv_$2.style.fontStyle;
newdiv_$3.style.fontWeight = olddiv_$2.style.fontWeight;
newdiv_$3.style.fontSize = olddiv_$2.style.fontSize;
newdiv_$3.style.fontFamily = olddiv_$2.style.fontFamily
};
var oldleft_$4 = olddiv_$2.scrollLeft;
var oldtop_$5 = olddiv_$2.scrollTop;
$8.lineno = 200, this.__discardElement(olddiv_$2);
$8.lineno = 202, this.__LZdiv.appendChild(newdiv_$3);
$8.lineno = 205, this.setScrollEvents(this.owner.scrollevents);
newdiv_$3.scrollLeft = oldleft_$4;
newdiv_$3.scrollTop = oldtop_$5;
$8.lineno = 209, this.__setTextEvents(true);
$8.lineno = 211, this.setText(this.text, true)
}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#174/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 174;
return $lzsc$temp
})();
LzInputTextSprite.prototype.__handlemouse = (function () {
var $lzsc$temp = function (e_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["e", e_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$4.lineno = 216;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var sprite_$1 = this.owner;
if (!sprite_$1 || !sprite_$1.owner || sprite_$1.selectable != true) return;
$4.lineno = 229, sprite_$1.__show()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#216/45";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 216;
return $lzsc$temp
})();
LzInputTextSprite.prototype.init = (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 233;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 234, this.setVisible(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#233/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 233;
return $lzsc$temp
})();
LzInputTextSprite.prototype.__show = (function () {
var $lzsc$temp = function () {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = [];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$7.lineno = 263;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (this.__shown == true || this.disabled == true) return;
$7.lineno = 265, this.__hideIfNotFocused();
LzInputTextSprite.prototype.__lastshown = this;
this.__shown = true;
if (this.quirks["inputtext_parents_cannot_contain_clip"]) {
var sprites_$0 = ($7.lineno = 270, this.__findParents("clip", true));
var l_$1 = sprites_$0.length;
if (l_$1 > 1) {
if (this._shownclipvals == null) {
this._shownclipvals = [];
this._shownclippedsprites = sprites_$0;
for (var n_$2 = 0;n_$2 < l_$1;n_$2++) {
var v_$3 = sprites_$0[n_$2];
this._shownclipvals[n_$2] = v_$3.__LZclickcontainerdiv.style.clip;
var noclip_$4 = this.quirks["fix_ie_css_syntax"] ? "rect(auto auto auto auto)" : "";
v_$3.__LZclickcontainerdiv.style.clip = noclip_$4
}}}};
$7.lineno = 288, LzMouseKernel.setGlobalClickable(false);
if (LzSprite.quirks.prevent_selection) {
this.__LZdiv.onselectstart = null
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#263/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 263;
return $lzsc$temp
})();
LzInputTextSprite.prototype.__hideIfNotFocused = (function () {
var $lzsc$temp = function (eventname_$0, target_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["eventname", eventname_$0, "target", target_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$7.lineno = 298;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var lzinppr_$2 = LzInputTextSprite.prototype;
if (lzinppr_$2.__lastshown == null) return;
var quirks_$3 = LzSprite.quirks;
if (quirks_$3.textgrabsinputtextfocus) {
var s_$4 = window.event;
if (s_$4 && s_$4.srcElement && s_$4.srcElement.owner && s_$4.srcElement.owner instanceof LzTextSprite) {
if (eventname_$0 == "onmousedown") {
$7.lineno = 307, lzinppr_$2.__lastshown.gotFocus()
};
return
}};
if (lzinppr_$2.__focusedSprite != lzinppr_$2.__lastshown) {
$7.lineno = 313, lzinppr_$2.__lastshown.__hide()
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#298/50";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 298;
return $lzsc$temp
})();
LzInputTextSprite.prototype.__hide = (function () {
var $lzsc$temp = function (ignore_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["ignore", ignore_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$5.lineno = 317;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (this.__shown != true || this.disabled == true) return;
if (LzInputTextSprite.prototype.__lastshown == this) {
LzInputTextSprite.prototype.__lastshown = null
};
this.__shown = false;
if (this.quirks["inputtext_parents_cannot_contain_clip"]) {
if (this._shownclipvals != null) {
for (var n_$1 = 0;n_$1 < this._shownclipvals.length;n_$1++) {
var v_$2 = this._shownclippedsprites[n_$1];
v_$2.__LZclickcontainerdiv.style.clip = this._shownclipvals[n_$1]
};
this._shownclipvals = null;
this._shownclippedsprites = null
}};
$5.lineno = 336, LzMouseKernel.setGlobalClickable(true);
if (LzInputTextSprite.prototype.__lastshown == null) {
if (LzSprite.quirks.prevent_selection) {
this.__LZdiv.onselectstart = LzTextSprite.prototype.__cancelhandler
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#317/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 317;
return $lzsc$temp
})();
LzInputTextSprite.prototype.gotBlur = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$2.lineno = 365;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (LzInputTextSprite.prototype.__focusedSprite != this) return;
$2.lineno = 368, this.deselect()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#365/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 365;
return $lzsc$temp
})();
LzInputTextSprite.prototype.gotFocus = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$2.lineno = 372;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (LzInputTextSprite.prototype.__focusedSprite == this) return;
$2.lineno = 375, this.select()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#372/40";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 372;
return $lzsc$temp
})();
LzInputTextSprite.prototype.setText = (function () {
var $lzsc$temp = function (t_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["t", t_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 378;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities["htmlinputtext"]) {
if (($3.lineno = 384, t_$0.indexOf("<br/>")) != -1) {
t_$0 = ($3.lineno = 385, t_$0.replace(this.br_to_newline_re, "\r"))
}};
this.text = t_$0;
$3.lineno = 390, this.__createInputText(t_$0);
this.__LzInputDiv.value = t_$0;
$3.lineno = 392, this.__updatefieldsize()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#378/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 378;
return $lzsc$temp
})();
LzInputTextSprite.prototype.__setTextEvents = (function () {
var $lzsc$temp = function (c_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["c", c_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$5.lineno = 395;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var div_$1 = this.__LzInputDiv;
var f_$2 = c_$0 ? this.__textEvent : null;
div_$1.onblur = f_$2;
div_$1.onfocus = f_$2;
if (this.quirks.ie_mouse_events) {
div_$1.ondrag = f_$2;
div_$1.ondblclick = f_$2;
div_$1.onmouseenter = f_$2;
div_$1.onmouseleave = f_$2
} else {
div_$1.onmouseover = f_$2;
div_$1.onmouseout = f_$2
};
div_$1.onmousemove = f_$2;
div_$1.onmousedown = f_$2;
div_$1.onmouseup = f_$2;
div_$1.onclick = f_$2;
div_$1.onkeyup = f_$2;
div_$1.onkeydown = f_$2;
div_$1.onkeypress = f_$2;
div_$1.onchange = f_$2;
if (this.quirks.ie_paste_event || this.quirks.safari_paste_event) {
div_$1.onpaste = c_$0 ? (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 419;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 419, this.owner.__pasteHandlerEx(e_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#419/27";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 419;
return $lzsc$temp
})() : null
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#395/47";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 395;
return $lzsc$temp
})();
LzInputTextSprite.prototype.__pasteHandlerEx = (function () {
var $lzsc$temp = function (evt_$0) {
var $e = Debug;
var $f = $e.backtraceStack;
try {
if ($f) {
var $g = ["evt", evt_$0];
$g.callee = arguments.callee;
$g["this"] = this;
$g.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$g.lineno = 423;
$f.push($g);
if ($f.length > $f.maxDepth) {
$e.stackOverflow()
}};
var checkre_$1 = !(!this.restrict);
var checkml_$2 = this.multiline && this.owner.maxlength > 0;
if (checkre_$1 || checkml_$2) {
evt_$0 = evt_$0 ? evt_$0 : window.event;
if (this.quirks.safari_paste_event) {
var txt_$3 = ($g.lineno = 430, evt_$0.clipboardData.getData("text/plain"))
} else {
var txt_$3 = ($g.lineno = 432, window.clipboardData.getData("TEXT"));
txt_$3 = ($g.lineno = 433, txt_$3.replace(this.____crregexp, "\n"))
};
var stopPaste_$4 = false;
var selsize_$5 = ($g.lineno = 437, this.getSelectionSize());
if (selsize_$5 < 0) selsize_$5 = 0;
if (checkre_$1) {
var matched_$6 = ($g.lineno = 442, txt_$3.match(this.restrict));
if (matched_$6 == null) {
var newtxt_$7 = ""
} else {
var newtxt_$7 = ($g.lineno = 446, matched_$6.join(""))
};
stopPaste_$4 = newtxt_$7 != txt_$3;
txt_$3 = newtxt_$7
};
if (checkml_$2) {
var max_$8 = this.owner.maxlength + selsize_$5;
if (this.quirks.text_ie_carriagereturn) {
var len_$9 = ($g.lineno = 455, this.__LzInputDiv.value.replace(this.____crregexp, "\n")).length
} else {
var len_$9 = this.__LzInputDiv.value.length
};
var maxchars_$a = max_$8 - len_$9;
if (maxchars_$a > 0) {
if (txt_$3.length > maxchars_$a) {
txt_$3 = ($g.lineno = 463, txt_$3.substring(0, maxchars_$a));
stopPaste_$4 = true
}} else {
txt_$3 = "";
stopPaste_$4 = true
}};
if (stopPaste_$4) {
evt_$0.returnValue = false;
if (evt_$0.preventDefault) {
$g.lineno = 475, evt_$0.preventDefault()
};
if (txt_$3.length > 0) {
if (this.quirks.safari_paste_event) {
var val_$b = this.__LzInputDiv.value;
var selpos_$c = ($g.lineno = 481, this.getSelectionPosition());
this.__LzInputDiv.value = ($g.lineno = 484, val_$b.substring(0, selpos_$c)) + txt_$3 + ($g.lineno = 484, val_$b.substring(selpos_$c + selsize_$5));
selpos_$c += txt_$3.length;
$g.lineno = 488, this.__LzInputDiv.setSelectionRange(selpos_$c, selpos_$c)
} else {
var range_$d = ($g.lineno = 490, document.selection.createRange());
range_$d.text = txt_$3
}}}}}
finally {
if ($f) {
$f.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#423/48";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 423;
return $lzsc$temp
})();
LzInputTextSprite.prototype.__pasteHandler = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$2.lineno = 499;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
var selpos = ($2.lineno = 500, this.getSelectionPosition());
var selsize = ($2.lineno = 501, this.getSelectionSize());
var val = this.__LzInputDiv.value;
var that = this;
$2.lineno = 506, setTimeout((function () {
var $lzsc$temp = function () {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = [];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$b.lineno = 506;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
var checkre_$0 = !(!that.restrict);
var checkml_$1 = that.multiline && that.owner.maxlength > 0;
var newval_$2 = that.__LzInputDiv.value;
var newlen_$3 = newval_$2.length;
var max_$4 = that.owner.maxlength;
if (checkre_$0 || checkml_$1 && newlen_$3 > max_$4) {
var len_$5 = val.length;
var newc_$6 = ($b.lineno = 516, newval_$2.substr(selpos, newlen_$3 - len_$5 + selsize));
if (checkre_$0) {
var matched_$7 = ($b.lineno = 520, newc_$6.match(that.restrict));
newc_$6 = matched_$7 != null ? ($b.lineno = 521, matched_$7.join("")) : ""
};
if (checkml_$1) {
var maxchars_$8 = max_$4 + selsize - len_$5;
newc_$6 = ($b.lineno = 527, newc_$6.substring(0, maxchars_$8))
};
that.__LzInputDiv.value = ($b.lineno = 531, val.substring(0, selpos)) + newc_$6 + ($b.lineno = 531, val.substring(selpos + selsize));
selpos += newc_$6.length;
$b.lineno = 536, that.__LzInputDiv.setSelectionRange(selpos, selpos)
}}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#506/16";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 506;
return $lzsc$temp
})(), 1)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#499/46";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 499;
return $lzsc$temp
})();
LzInputTextSprite.prototype.__textEvent = (function () {
var $lzsc$temp = function (evt_$0) {
var $i = Debug;
var $j = $i.backtraceStack;
try {
if ($j) {
var $k = ["evt", evt_$0];
$k.callee = arguments.callee;
$k["this"] = this;
$k.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$k.lineno = 542;
$j.push($k);
if ($j.length > $j.maxDepth) {
$i.stackOverflow()
}};
if (!evt_$0) evt_$0 = window.event;
var sprite_$1 = this.owner;
var view_$2 = this.owner.owner;
if (sprite_$1.__LZdeleted == true) return;
if (sprite_$1.__skipevent) {
sprite_$1.__skipevent = false;
return
};
var eventname_$3 = "on" + evt_$0.type;
var quirks_$4 = sprite_$1.quirks;
$k.lineno = 554, LzMouseKernel.__sendMouseMove(evt_$0);
if (quirks_$4.ie_mouse_events) {
if (eventname_$3 == "onmouseenter") {
eventname_$3 = "onmouseover"
} else if (eventname_$3 == "onmouseleave") {
eventname_$3 = "onmouseout"
} else if (eventname_$3 == "ondblclick") {
if (sprite_$1.clickable) {
$k.lineno = 565, sprite_$1.__mouseEvent("onmousedown", true);
$k.lineno = 566, sprite_$1.__mouseEvent("onmouseup", true);
$k.lineno = 567, sprite_$1.__mouseEvent("onclick", true)
};
return false
} else if (eventname_$3 == "ondrag") {
return false
}};
if (quirks_$4.autoscroll_textarea) {
if (eventname_$3 == "onmousedown") {
sprite_$1.dragging = true
} else if (eventname_$3 == "onmouseup" || eventname_$3 == "onmouseout") {
sprite_$1.dragging = false
}};
if (sprite_$1.__shown != true) {
if (eventname_$3 == "onfocus") {
sprite_$1.__skipevent = true;
$k.lineno = 590, sprite_$1.__show();
$k.lineno = 591, sprite_$1.__LzInputDiv.blur();
LzInputTextSprite.prototype.__lastfocus = sprite_$1;
$k.lineno = 593, LzKeyboardKernel.setKeyboardControl(true)
}};
if (eventname_$3 == "onfocus" || eventname_$3 == "onmousedown") {
if (eventname_$3 == "onfocus") {
$k.lineno = 598, LzMouseKernel.setGlobalClickable(false)
};
LzInputTextSprite.prototype.__focusedSprite = sprite_$1;
$k.lineno = 601, sprite_$1.__show();
if (eventname_$3 == "onfocus" && sprite_$1._cancelfocus) {
sprite_$1._cancelfocus = false;
return
};
if (window["LzKeyboardKernel"]) LzKeyboardKernel.__cancelKeys = false
} else if (eventname_$3 == "onblur") {
if (window["LzKeyboardKernel"]) LzKeyboardKernel.__cancelKeys = true;
if (LzInputTextSprite.prototype.__focusedSprite === sprite_$1) {
LzInputTextSprite.prototype.__focusedSprite = null
};
$k.lineno = 617, sprite_$1.__hide();
if (sprite_$1._cancelblur) {
sprite_$1._cancelblur = false;
return
}} else if (eventname_$3 == "onmousemove") {
if (quirks_$4.autoscroll_textarea && sprite_$1.dragging) {
var d_$5 = sprite_$1.__LzInputDiv;
var y_$6 = evt_$0.pageY - d_$5.offsetTop;
if (y_$6 <= 3) {
d_$5.scrollTop -= sprite_$1.lineHeight ? sprite_$1.lineHeight : 10
};
if (y_$6 >= d_$5.clientHeight - 3) {
d_$5.scrollTop += sprite_$1.lineHeight ? sprite_$1.lineHeight : 10
}};
return
} else if (eventname_$3 == "onkeypress") {
if (sprite_$1.restrict || sprite_$1.multiline && view_$2.maxlength && view_$2.maxlength < Infinity) {
var keycode_$7 = evt_$0.keyCode;
var charcode_$8 = quirks_$4.text_event_charcode ? evt_$0.charCode : evt_$0.keyCode;
var validChar_$9 = !(evt_$0.ctrlKey || evt_$0.altKey) && (charcode_$8 >= 32 || keycode_$7 == 13);
if (validChar_$9) {
var prevent_$a = false;
if (keycode_$7 != 13 && sprite_$1.restrict) {
prevent_$a = 0 > ($k.lineno = 649, ($k.lineno = 649, String.fromCharCode(charcode_$8)).search(sprite_$1.restrict))
};
if (!prevent_$a) {
var selsize_$b = ($k.lineno = 652, sprite_$1.getSelectionSize());
if (selsize_$b <= 0) {
if (quirks_$4.text_ie_carriagereturn) {
var val_$c = ($k.lineno = 656, sprite_$1.__LzInputDiv.value.replace(sprite_$1.____crregexp, "\n"))
} else {
var val_$c = sprite_$1.__LzInputDiv.value
};
var len_$d = val_$c.length, max_$e = view_$2.maxlength;
if (len_$d >= max_$e) {
prevent_$a = true
}}};
if (prevent_$a) {
evt_$0.returnValue = false;
if (evt_$0.preventDefault) {
$k.lineno = 670, evt_$0.preventDefault()
}}} else {
if (quirks_$4.keypress_function_keys) {
var ispaste_$f = false;
if (evt_$0.ctrlKey && !evt_$0.altKey && !evt_$0.shiftKey) {
var c_$g = ($k.lineno = 679, String.fromCharCode(charcode_$8));
ispaste_$f = c_$g == "v" || c_$g == "V"
} else if (evt_$0.shiftKey && !evt_$0.altKey && !evt_$0.ctrlKey) {
ispaste_$f = keycode_$7 == 45
};
if (ispaste_$f) {
if (sprite_$1.restrict) {
$k.lineno = 691, sprite_$1.__pasteHandler()
} else {
var len_$d = sprite_$1.__LzInputDiv.value.length, max_$e = view_$2.maxlength;
if (len_$d < max_$e || ($k.lineno = 694, sprite_$1.getSelectionSize()) > 0) {
$k.lineno = 695, sprite_$1.__pasteHandler()
} else {
evt_$0.returnValue = false;
if (evt_$0.preventDefault) {
$k.lineno = 699, evt_$0.preventDefault()
}}}}}};
$k.lineno = 706, sprite_$1.__updatefieldsize()
};
return
};
if (view_$2) {
if (eventname_$3 == "onkeydown" || eventname_$3 == "onkeyup") {
var d_$5 = sprite_$1.__LzInputDiv;
var v_$h = d_$5.value;
if (v_$h != sprite_$1.text) {
sprite_$1.text = v_$h;
$k.lineno = 721, sprite_$1.__updatefieldsize();
$k.lineno = 722, view_$2.inputtextevent("onchange", v_$h)
};
if (quirks_$4.autoscroll_textarea && eventname_$3 == "onkeydown" && d_$5.selectionStart == v_$h.length) {
d_$5.scrollTop = d_$5.scrollHeight - d_$5.clientHeight + 20
}} else {
if (eventname_$3 == "onmousedown" || eventname_$3 == "onmouseup" || eventname_$3 == "onmouseover" || eventname_$3 == "onmouseout" || eventname_$3 == "onclick") {
$k.lineno = 731, sprite_$1.__mouseEvent(evt_$0);
evt_$0.cancelBubble = true;
if (eventname_$3 == "onmouseout") {
if (!($k.lineno = 743, sprite_$1.__isMouseOver())) {
$k.lineno = 744, sprite_$1.__hide()
}};
return
};
$k.lineno = 749, view_$2.inputtextevent(eventname_$3)
}}}
finally {
if ($j) {
$j.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#542/43";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 542;
return $lzsc$temp
})();
LzInputTextSprite.prototype.setClickable = (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 754;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.clickable = val_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#754/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 754;
return $lzsc$temp
})();
LzInputTextSprite.prototype.setEnabled = (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 758;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.disabled = !val_$0;
this.__LzInputDiv.disabled = this.disabled
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#758/42";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 758;
return $lzsc$temp
})();
LzInputTextSprite.prototype.setMaxLength = (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 763;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (val_$0 == Infinity) {
val_$0 = ~0 >>> 1
};
this.__LzInputDiv.maxLength = val_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#763/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 763;
return $lzsc$temp
})();
LzInputTextSprite.prototype.select = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 771;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 773, this.__show();
try {
$3.lineno = 776, this.__LzInputDiv.focus()
}
catch (err_$0) {};
LzInputTextSprite.prototype.__lastfocus = this;
$3.lineno = 779, setTimeout(LzInputTextSprite.prototype.__selectLastFocused, 50);
if (window["LzKeyboardKernel"]) LzKeyboardKernel.__cancelKeys = false
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#771/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 771;
return $lzsc$temp
})();
LzInputTextSprite.prototype.__selectLastFocused = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$2.lineno = 785;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (LzInputTextSprite.prototype.__lastfocus != null) {
$2.lineno = 787, LzInputTextSprite.prototype.__lastfocus.__LzInputDiv.select()
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#785/51";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 785;
return $lzsc$temp
})();
LzInputTextSprite.prototype.setSelection = (function () {
var $lzsc$temp = function (start_$0, end_$1) {
var $b = Debug;
var $c = $b.backtraceStack;
try {
if ($c) {
var $d = ["start", start_$0, "end", end_$1];
$d.callee = arguments.callee;
$d["this"] = this;
$d.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$d.lineno = 792;
$c.push($d);
if ($c.length > $c.maxDepth) {
$b.stackOverflow()
}};
switch (arguments.length) {
case 1:
end_$1 = null
};
if (end_$1 == null) {
end_$1 = start_$0
};
this._cancelblur = true;
$d.lineno = 795, this.__show();
LzInputTextSprite.prototype.__lastfocus = this;
if (this.quirks["text_selection_use_range"]) {
var range_$2 = ($d.lineno = 799, this.__LzInputDiv.createTextRange());
var val_$3 = this.__LzInputDiv.value;
if (start_$0 > end_$1) {
var st_$4 = start_$0;
start_$0 = end_$1;
end_$1 = st_$4
};
if (this.multiline) {
var offset_$5 = 0;
var startcounter_$6 = 0;
while (offset_$5 < start_$0) {
offset_$5 = ($d.lineno = 815, val_$3.indexOf("\r\n", offset_$5 + 2));
if (offset_$5 == -1) break;
startcounter_$6++
};
var midcounter_$7 = 0;
while (offset_$5 < end_$1) {
offset_$5 = ($d.lineno = 821, val_$3.indexOf("\r\n", offset_$5 + 2));
if (offset_$5 == -1) break;
midcounter_$7++
};
var endcounter_$8 = 0;
while (offset_$5 < val_$3.length) {
offset_$5 = ($d.lineno = 827, val_$3.indexOf("\r\n", offset_$5 + 2));
if (offset_$5 == -1) break;
endcounter_$8++
};
var tl_$9 = range_$2.text.length;
var st_$4 = start_$0;
var ed_$a = end_$1 - val_$3.length + startcounter_$6 + midcounter_$7 + endcounter_$8 + 1
} else {
var st_$4 = start_$0;
var ed_$a = end_$1 - range_$2.text.length
};
$d.lineno = 843, range_$2.moveStart("character", st_$4);
$d.lineno = 844, range_$2.moveEnd("character", ed_$a);
$d.lineno = 845, range_$2.select()
} else {
$d.lineno = 850, this.__LzInputDiv.setSelectionRange(start_$0, end_$1)
};
$d.lineno = 852, this.__LzInputDiv.focus();
if (window["LzKeyboardKernel"]) LzKeyboardKernel.__cancelKeys = false
}
finally {
if ($c) {
$c.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#792/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 792;
return $lzsc$temp
})();
LzInputTextSprite.prototype.getSelectionPosition = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 857;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this.__shown || this.disabled == true) return -1;
if (this.quirks["text_selection_use_range"]) {
if (this.multiline) {
var p_$0 = ($3.lineno = 861, this._getTextareaSelection())
} else {
var p_$0 = ($3.lineno = 863, this._getTextSelection())
};
if (p_$0) {
return p_$0.start
} else {
return -1
}} else {
return this.__LzInputDiv.selectionStart
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#857/52";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 857;
return $lzsc$temp
})();
LzInputTextSprite.prototype.getSelectionSize = (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 876;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this.__shown || this.disabled == true) return -1;
if (this.quirks["text_selection_use_range"]) {
if (this.multiline) {
var p_$0 = ($3.lineno = 880, this._getTextareaSelection())
} else {
var p_$0 = ($3.lineno = 882, this._getTextSelection())
};
if (p_$0) {
return p_$0.end - p_$0.start
} else {
return -1
}} else {
return this.__LzInputDiv.selectionEnd - this.__LzInputDiv.selectionStart
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#876/48";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 876;
return $lzsc$temp
})();
if (LzSprite.quirks["text_selection_use_range"]) {
LzInputTextSprite.prototype._getTextSelection = (function () {
var $lzsc$temp = function () {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = [];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$8.lineno = 895;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
$8.lineno = 896, this.__LzInputDiv.focus();
var range_$0 = ($8.lineno = 898, document.selection.createRange());
var bookmark_$1 = ($8.lineno = 899, range_$0.getBookmark());
var originalContents_$2 = contents = this.__LzInputDiv.value;
do {
var marker_$3 = "~~~" + ($8.lineno = 903, Math.random()) + "~~~"
} while (($8.lineno = 904, contents.indexOf(marker_$3)) != -1);
var parent_$4 = ($8.lineno = 906, range_$0.parentElement());
if (parent_$4 == null || !(parent_$4.type == "text" || parent_$4.type == "textarea")) {
return
};
range_$0.text = marker_$3 + range_$0.text + marker_$3;
contents = this.__LzInputDiv.value;
var result_$5 = {};
result_$5.start = ($8.lineno = 914, contents.indexOf(marker_$3));
contents = ($8.lineno = 915, contents.replace(marker_$3, ""));
result_$5.end = ($8.lineno = 916, contents.indexOf(marker_$3));
this.__LzInputDiv.value = originalContents_$2;
$8.lineno = 919, range_$0.moveToBookmark(bookmark_$1);
$8.lineno = 920, range_$0.select();
return result_$5
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#895/49";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 895;
return $lzsc$temp
})();
LzInputTextSprite.prototype._getTextareaSelection = (function () {
var $lzsc$temp = function () {
var $n = Debug;
var $o = $n.backtraceStack;
try {
if ($o) {
var $p = [];
$p.callee = arguments.callee;
$p["this"] = this;
$p.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$p.lineno = 925;
$o.push($p);
if ($o.length > $o.maxDepth) {
$n.stackOverflow()
}};
var textarea_$0 = this.__LzInputDiv;
var selection_range_$1 = ($p.lineno = 927, ($p.lineno = 927, document.selection.createRange()).duplicate());
if (($p.lineno = 929, selection_range_$1.parentElement()) == textarea_$0) {
var before_range_$2 = ($p.lineno = 933, document.body.createTextRange());
$p.lineno = 934, before_range_$2.moveToElementText(textarea_$0);
$p.lineno = 935, before_range_$2.setEndPoint("EndToStart", selection_range_$1);
var after_range_$3 = ($p.lineno = 937, document.body.createTextRange());
$p.lineno = 938, after_range_$3.moveToElementText(textarea_$0);
$p.lineno = 939, after_range_$3.setEndPoint("StartToEnd", selection_range_$1);
var before_finished_$4 = false, selection_finished_$5 = false, after_finished_$6 = false;
var before_text_$7, untrimmed_before_text_$8, selection_text_$9, untrimmed_selection_text_$a, after_text_$b, untrimmed_after_text_$c;
before_text_$7 = untrimmed_before_text_$8 = before_range_$2.text;
selection_text_$9 = untrimmed_selection_text_$a = selection_range_$1.text;
after_text_$b = untrimmed_after_text_$c = after_range_$3.text;
do {
if (!before_finished_$4) {
if (($p.lineno = 954, before_range_$2.compareEndPoints("StartToEnd", before_range_$2)) == 0) {
before_finished_$4 = true
} else {
$p.lineno = 957, before_range_$2.moveEnd("character", -1);
if (before_range_$2.text == before_text_$7) {
untrimmed_before_text_$8 += "\r\n"
} else {
before_finished_$4 = true
}}};
if (!selection_finished_$5) {
if (($p.lineno = 966, selection_range_$1.compareEndPoints("StartToEnd", selection_range_$1)) == 0) {
selection_finished_$5 = true
} else {
$p.lineno = 969, selection_range_$1.moveEnd("character", -1);
if (selection_range_$1.text == selection_text_$9) {
untrimmed_selection_text_$a += "\r\n"
} else {
selection_finished_$5 = true
}}};
if (!after_finished_$6) {
if (($p.lineno = 978, after_range_$3.compareEndPoints("StartToEnd", after_range_$3)) == 0) {
after_finished_$6 = true
} else {
$p.lineno = 981, after_range_$3.moveEnd("character", -1);
if (after_range_$3.text == after_text_$b) {
untrimmed_after_text_$c += "\r\n"
} else {
after_finished_$6 = true
}}}} while (!before_finished_$4 || !selection_finished_$5 || !after_finished_$6);
var untrimmed_text_$d = untrimmed_before_text_$8 + untrimmed_selection_text_$a + untrimmed_after_text_$c;
var untrimmed_successful_$e = false;
if (textarea_$0.value == untrimmed_text_$d) {
untrimmed_successful_$e = true
};
var startPoint_$f = untrimmed_before_text_$8.length;
var endPoint_$g = startPoint_$f + untrimmed_selection_text_$a.length;
var selected_text_$h = untrimmed_selection_text_$a;
var val_$i = this.__LzInputDiv.value;
var offset_$j = 0;
var startcounter_$k = 0;
while (offset_$j < startPoint_$f) {
offset_$j = ($p.lineno = 1012, val_$i.indexOf("\r\n", offset_$j + 2));
if (offset_$j == -1) break;
startcounter_$k++
};
var midcounter_$l = 0;
while (offset_$j < endPoint_$g) {
offset_$j = ($p.lineno = 1018, val_$i.indexOf("\r\n", offset_$j + 2));
if (offset_$j == -1) break;
midcounter_$l++
};
var endcounter_$m = 0;
while (offset_$j < val_$i.length) {
offset_$j = ($p.lineno = 1024, val_$i.indexOf("\r\n", offset_$j + 2));
if (offset_$j == -1) break;
endcounter_$m++
};
startPoint_$f -= startcounter_$k;
endPoint_$g -= midcounter_$l + startcounter_$k;
return {start: startPoint_$f, end: endPoint_$g}}}
finally {
if ($o) {
$o.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#925/53";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 925;
return $lzsc$temp
})()
};
LzInputTextSprite.prototype.deselect = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$2.lineno = 1038;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 1040, this.__hide();
if (this.__LzInputDiv && this.__LzInputDiv.blur) $2.lineno = 1041, this.__LzInputDiv.blur();
if (window["LzKeyboardKernel"]) LzKeyboardKernel.__cancelKeys = true
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#1038/40";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1038;
return $lzsc$temp
})();
LzInputTextSprite.prototype.__fontStyle = "normal";
LzInputTextSprite.prototype.__fontWeight = "normal";
LzInputTextSprite.prototype.__fontSize = "11px";
LzInputTextSprite.prototype.__fontFamily = "Verdana,Vera,sans-serif";
LzInputTextSprite.prototype.__setFontSize = LzTextSprite.prototype.setFontSize;
LzInputTextSprite.prototype.setFontSize = (function () {
var $lzsc$temp = function (fsize_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fsize", fsize_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 1053;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1054, this.__setFontSize(fsize_$0);
if (this.__fontSize != this._fontSize) {
this.__fontSize = this._fontSize;
this.__LzInputDiv.style.fontSize = this._fontSize
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#1053/43";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1053;
return $lzsc$temp
})();
LzInputTextSprite.prototype.__setFontStyle = LzTextSprite.prototype.setFontStyle;
LzInputTextSprite.prototype.setFontStyle = (function () {
var $lzsc$temp = function (fstyle_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fstyle", fstyle_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 1062;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1063, this.__setFontStyle(fstyle_$0);
if (this.__fontStyle != this._fontStyle) {
this.__fontStyle = this._fontStyle;
this.__LzInputDiv.style.fontStyle = this._fontStyle
};
if (this.__fontWeight != this._fontWeight) {
this.__fontWeight = this._fontWeight;
this.__LzInputDiv.style.fontWeight = this._fontWeight
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#1062/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1062;
return $lzsc$temp
})();
LzInputTextSprite.prototype.__setFontName = LzTextSprite.prototype.setFontName;
LzInputTextSprite.prototype.setFontName = (function () {
var $lzsc$temp = function (fname_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fname", fname_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 1075;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1076, this.__setFontName(fname_$0);
if (this.__fontFamily != this._fontFamily) {
this.__fontFamily = this._fontFamily;
this.__LzInputDiv.style.fontFamily = this._fontFamily
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#1075/43";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1075;
return $lzsc$temp
})();
LzInputTextSprite.prototype.setWidth = (function () {
var $lzsc$temp = function (w_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["w", w_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$4.lineno = 1083;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (w_$0 == null || w_$0 < 0 || ($4.lineno = 1084, isNaN(w_$0))) return;
var nw_$1 = ($4.lineno = 1086, LzTextSprite.prototype.setWidth.call(this, w_$0));
if (this.quirks.fix_clickable && nw_$1 != null) {
this.__LZinputclickdiv.style.width = nw_$1
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#1083/40";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1083;
return $lzsc$temp
})();
LzInputTextSprite.prototype.setHeight = (function () {
var $lzsc$temp = function (h_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["h", h_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$4.lineno = 1092;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (h_$0 == null || h_$0 < 0 || ($4.lineno = 1093, isNaN(h_$0))) return;
var nh_$1 = ($4.lineno = 1095, LzTextSprite.prototype.setHeight.call(this, h_$0));
if (this.quirks.fix_clickable && nh_$1 != null) {
this.__LZinputclickdiv.style.height = nh_$1
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#1092/41";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1092;
return $lzsc$temp
})();
LzInputTextSprite.prototype.setColor = (function () {
var $lzsc$temp = function (c_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["c", c_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$3.lineno = 1102;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.color == c_$0) return;
this.color = c_$0;
this.__LzInputDiv.style.color = ($3.lineno = 1105, LzColorUtils.inttohex(c_$0))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#1102/40";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1102;
return $lzsc$temp
})();
LzInputTextSprite.prototype.getText = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$2.lineno = 1108;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.multiline && this.quirks.text_ie_carriagereturn) {
return $2.lineno = 1110, this.__LzInputDiv.value.replace(this.____crregexp, "\n")
} else {
return this.__LzInputDiv.value
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#1108/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1108;
return $lzsc$temp
})();
LzInputTextSprite.findSelection = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$2.lineno = 1119;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (LzInputTextSprite.__focusedSprite && LzInputTextSprite.__focusedSprite.owner) {
return LzInputTextSprite.__focusedSprite.owner
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#1119/35";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1119;
return $lzsc$temp
})();
if (LzSprite.quirks.prevent_selection) {
document.onselectstart = (function () {
var $lzsc$temp = function (e_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["e", e_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzInputTextSprite.js";
$4.lineno = 1130;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (!e_$0) {
e_$0 = window.event;
var targ_$1 = e_$0.srcElement
} else {
var targ_$1 = e_$0.srcElement.parentNode
};
if (targ_$1.owner instanceof LzTextSprite) {
if (!targ_$1.owner.selectable) {
return false
}} else {
return false
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzInputTextSprite.js#1130/30";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzInputTextSprite.js";
$lzsc$temp["_dbg_lineno"] = 1130;
return $lzsc$temp
})()
};
var LzXMLParser = {parseXML: (function () {
var $lzsc$temp = function (str_$0, trimwhitespace_$1, nsprefix_$2) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["str", str_$0, "trimwhitespace", trimwhitespace_$1, "nsprefix", nsprefix_$2];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzXMLParser.js";
$8.lineno = 15;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var parser_$3 = ($8.lineno = 21, new DOMParser());
var doc_$4 = ($8.lineno = 22, parser_$3.parseFromString(str_$0, "text/xml"));
var err_$5 = ($8.lineno = 24, this.getParserError(doc_$4));
if (err_$5) {
throw $8.lineno = 26, new Error(err_$5)
} else {
return doc_$4.firstChild
}}
catch ($lzsc$e) {
if (Error["$lzsc$isa"] ? Error.$lzsc$isa($lzsc$e) : $lzsc$e instanceof Error) {
lz.$lzsc$thrownError = $lzsc$e
};
throw $lzsc$e
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzXMLParser.js#15/15";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzXMLParser.js";
$lzsc$temp["_dbg_lineno"] = 15;
return $lzsc$temp
})(), getParserError: (function () {
var $lzsc$temp = function (doc_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["doc", doc_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzXMLParser.js";
$4.lineno = 31;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var browser_$1 = lz.embed.browser;
if (browser_$1.isIE) {
return $4.lineno = 35, this.__checkIE(doc_$0)
} else if (browser_$1.isFirefox || browser_$1.isOpera) {
return $4.lineno = 37, this.__checkFirefox(doc_$0)
} else if (browser_$1.isSafari) {
return $4.lineno = 39, this.__checkSafari(doc_$0)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzXMLParser.js#31/21";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzXMLParser.js";
$lzsc$temp["_dbg_lineno"] = 31;
return $lzsc$temp
})(), __checkIE: (function () {
var $lzsc$temp = function (doc_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["doc", doc_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzXMLParser.js";
$4.lineno = 42;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var perr_$1 = doc_$0.parseError;
if (perr_$1.errorCode != 0) {
return perr_$1.reason
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzXMLParser.js#42/16";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzXMLParser.js";
$lzsc$temp["_dbg_lineno"] = 42;
return $lzsc$temp
})(), __checkFirefox: (function () {
var $lzsc$temp = function (doc_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["doc", doc_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzXMLParser.js";
$5.lineno = 48;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var c_$1 = doc_$0.documentElement;
if (c_$1 && c_$1.nodeName == "parsererror") {
var msg_$2 = c_$1.firstChild.nodeValue;
return ($5.lineno = 54, msg_$2.match(".*"))[0]
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzXMLParser.js#48/21";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzXMLParser.js";
$lzsc$temp["_dbg_lineno"] = 48;
return $lzsc$temp
})(), __checkSafari: (function () {
var $lzsc$temp = function (doc_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["doc", doc_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzXMLParser.js";
$5.lineno = 57;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var c_$1 = doc_$0.documentElement;
if (c_$1 instanceof HTMLElement) {
(c_$1 = c_$1.firstChild) && (c_$1 = c_$1.firstChild)
} else {
c_$1 = c_$1.firstChild
};
if (c_$1 && c_$1.nodeName == "parsererror") {
var msg_$2 = c_$1.childNodes[1].textContent;
return ($5.lineno = 74, msg_$2.match("[^:]*: (.*)"))[1]
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzXMLParser.js#57/20";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzXMLParser.js";
$lzsc$temp["_dbg_lineno"] = 57;
return $lzsc$temp
})()};
if (typeof DOMParser == "undefined") {
var DOMParser = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzXMLParser.js";
$2.lineno = 84;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzXMLParser.js#84/21";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzXMLParser.js";
$lzsc$temp["_dbg_lineno"] = 84;
return $lzsc$temp
})();
DOMParser.prototype.parseFromString = (function () {
var $lzsc$temp = function (str_$0, contentType_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["str", str_$0, "contentType", contentType_$1];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/kernel/dhtml/LzXMLParser.js";
$9.lineno = 85;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
if (typeof window.ActiveXObject != "undefined") {
var progIDs_$2 = ["Msxml2.DOMDocument.6.0", "Msxml2.DOMDocument.3.0", "MSXML.DomDocument"];
var xmlDOM_$3 = null;
for (var i_$4 = 0;i_$4 < progIDs_$2.length;i_$4++) {
try {
xmlDOM_$3 = ($9.lineno = 93, new ActiveXObject(progIDs_$2[i_$4]));
break
}
catch (ex_$5) {}};
if (xmlDOM_$3 == null) {
$9.lineno = 100, Debug.error("Could not instantiate a XML DOM ActiveXObject")
};
$9.lineno = 103, xmlDOM_$3.loadXML(str_$0);
return xmlDOM_$3
} else if (typeof XMLHttpRequest != "undefined") {
contentType_$1 = contentType_$1 || "application/xml";
var req_$6 = ($9.lineno = 107, new XMLHttpRequest());
$9.lineno = 108, req_$6.open("GET", "data:" + contentType_$1 + ";charset=utf-8," + ($9.lineno = 109, encodeURIComponent(str_$0)), false);
if (req_$6.overrideMimeType) {
$9.lineno = 111, req_$6.overrideMimeType(contentType_$1)
};
$9.lineno = 113, req_$6.send(null);
return req_$6.responseXML
}}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzXMLParser.js#85/43";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzXMLParser.js";
$lzsc$temp["_dbg_lineno"] = 85;
return $lzsc$temp
})()
};
var LzXMLTranslator = {whitespacePat: new RegExp("^\\s*$"), stringTrimPat: new RegExp("^\\s+|\\s+$", "g"), copyXML: (function () {
var $lzsc$temp = function (xmldoc_$0, trimwhitespace_$1, nsprefix_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["xmldoc", xmldoc_$0, "trimwhitespace", trimwhitespace_$1, "nsprefix", nsprefix_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/dhtml/LzXMLTranslator.js";
$6.lineno = 22;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var lfcnode_$3 = ($6.lineno = 23, this.copyBrowserXML(xmldoc_$0, true, trimwhitespace_$1, nsprefix_$2));
if (lfcnode_$3 instanceof LzDataElement) {
return lfcnode_$3
} else {
return null
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzXMLTranslator.js#22/10";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzXMLTranslator.js";
$lzsc$temp["_dbg_lineno"] = 22;
return $lzsc$temp
})(), copyBrowserNode: (function () {
var $lzsc$temp = function (node_$0, ignorewhite_$1, trimwhite_$2, nsprefix_$3) {
var $e = Debug;
var $f = $e.backtraceStack;
try {
if ($f) {
var $g = ["node", node_$0, "ignorewhite", ignorewhite_$1, "trimwhite", trimwhite_$2, "nsprefix", nsprefix_$3];
$g.callee = arguments.callee;
$g["this"] = this;
$g.filename = "lfc/kernel/dhtml/LzXMLTranslator.js";
$g.lineno = 35;
$f.push($g);
if ($f.length > $f.maxDepth) {
$e.stackOverflow()
}};
var type_$4 = node_$0.nodeType;
if (type_$4 == 3 || type_$4 == 4) {
var nv_$5 = node_$0.nodeValue;
if (!(ignorewhite_$1 && ($g.lineno = 41, this.whitespacePat.test(nv_$5)))) {
if (trimwhite_$2) {
nv_$5 = ($g.lineno = 43, nv_$5.replace(this.stringTrimPat, ""))
};
return $g.lineno = 45, new LzDataText(nv_$5)
}} else if (type_$4 == 1 || type_$4 == 9) {
var nname_$6 = !nsprefix_$3 && (node_$0.localName || node_$0.baseName) || node_$0.nodeName;
var cattrs_$7 = {};
var nattrs_$8 = node_$0.attributes;
if (nattrs_$8) {
for (var k_$9 = 0, len_$a = nattrs_$8.length;k_$9 < len_$a;k_$9++) {
var attrnode_$b = nattrs_$8[k_$9];
if (attrnode_$b) {
var attrname_$c = !nsprefix_$3 && (attrnode_$b.localName || attrnode_$b.baseName) || attrnode_$b.name;
cattrs_$7[attrname_$c] = attrnode_$b.value
}}};
var lfcnode_$d = ($g.lineno = 66, new LzDataElement(nname_$6));
lfcnode_$d.attributes = cattrs_$7;
return lfcnode_$d
}}
finally {
if ($f) {
$f.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzXMLTranslator.js#35/18";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzXMLTranslator.js";
$lzsc$temp["_dbg_lineno"] = 35;
return $lzsc$temp
})(), copyBrowserXML: (function () {
var $lzsc$temp = function (xmlnode_$0, ignorewhite_$1, trimwhite_$2, nsprefix_$3) {
var $m = Debug;
var $n = $m.backtraceStack;
try {
if ($n) {
var $o = ["xmlnode", xmlnode_$0, "ignorewhite", ignorewhite_$1, "trimwhite", trimwhite_$2, "nsprefix", nsprefix_$3];
$o.callee = arguments.callee;
$o["this"] = this;
$o.filename = "lfc/kernel/dhtml/LzXMLTranslator.js";
$o.lineno = 78;
$n.push($o);
if ($n.length > $n.maxDepth) {
$m.stackOverflow()
}};
var document_$4 = ($o.lineno = 80, new LzDataElement(null));
if (!xmlnode_$0.firstChild) {
return $o.lineno = 84, document_$4.appendChild(($o.lineno = 84, this.copyBrowserNode(xmlnode_$0, ignorewhite_$1, trimwhite_$2, nsprefix_$3)))
};
var wsPat_$5 = this.whitespacePat;
var trimPat_$6 = this.stringTrimPat;
var lfcparent_$7 = document_$4;
var next_$8, node_$9 = xmlnode_$0;
for (;;) {
var type_$a = node_$9.nodeType;
if (type_$a == 3 || type_$a == 4) {
var nv_$b = node_$9.nodeValue;
if (!(ignorewhite_$1 && ($o.lineno = 106, wsPat_$5.test(nv_$b)))) {
if (trimwhite_$2) {
nv_$b = ($o.lineno = 108, nv_$b.replace(trimPat_$6, ""))
};
var cnodes_$c = lfcparent_$7.childNodes;
var last_$d = cnodes_$c[cnodes_$c.length - 1];
if (last_$d instanceof LzDataText) {
last_$d.data += nv_$b
} else {
var lfcnode_$e = ($o.lineno = 116, new LzDataText(nv_$b));
lfcnode_$e.parentNode = lfcparent_$7;
lfcnode_$e.ownerDocument = document_$4;
lfcnode_$e.__LZo = ($o.lineno = 120, cnodes_$c.push(lfcnode_$e)) - 1
}}} else if (type_$a == 1 || type_$a == 9) {
var nname_$f = !nsprefix_$3 && (node_$9.localName || node_$9.baseName) || node_$9.nodeName;
var cattrs_$g = {};
var nattrs_$h = node_$9.attributes;
if (nattrs_$h) {
for (var k_$i = 0, len_$j = nattrs_$h.length;k_$i < len_$j;k_$i++) {
var attrnode_$k = nattrs_$h[k_$i];
if (attrnode_$k) {
var attrname_$l = !nsprefix_$3 && (attrnode_$k.localName || attrnode_$k.baseName) || attrnode_$k.name;
cattrs_$g[attrname_$l] = attrnode_$k.value
}}};
var lfcnode_$e = ($o.lineno = 147, new LzDataElement(nname_$f));
lfcnode_$e.attributes = cattrs_$g;
lfcnode_$e.parentNode = lfcparent_$7;
lfcnode_$e.ownerDocument = document_$4;
lfcnode_$e.__LZo = ($o.lineno = 153, lfcparent_$7.childNodes.push(lfcnode_$e)) - 1;
if (next_$8 = node_$9.firstChild) {
lfcparent_$7 = lfcnode_$e;
node_$9 = next_$8;
continue
}};
while (!(next_$8 = node_$9.nextSibling)) {
node_$9 = node_$9.parentNode;
lfcparent_$7 = lfcparent_$7.parentNode;
if (node_$9 === xmlnode_$0) {
return document_$4.childNodes[0]
}};
node_$9 = next_$8
}}
finally {
if ($n) {
$n.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzXMLTranslator.js#78/17";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzXMLTranslator.js";
$lzsc$temp["_dbg_lineno"] = 78;
return $lzsc$temp
})()};
var LzHTTPLoader = (function () {
var $lzsc$temp = function (owner_$0, proxied_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["owner", owner_$0, "proxied", proxied_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$4.lineno = 12;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.owner = owner_$0;
this.options = {parsexml: true, serverproxyargs: null};
this.requestheaders = {};
this.requestmethod = LzHTTPLoader.GET_METHOD;
this.__loaderid = LzHTTPLoader.loaderIDCounter++
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#12/20";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 12;
return $lzsc$temp
})();
LzHTTPLoader.GET_METHOD = "GET";
LzHTTPLoader.POST_METHOD = "POST";
LzHTTPLoader.PUT_METHOD = "PUT";
LzHTTPLoader.DELETE_METHOD = "DELETE";
LzHTTPLoader.activeRequests = {};
LzHTTPLoader.loaderIDCounter = 0;
LzHTTPLoader.prototype.loadSuccess = (function () {
var $lzsc$temp = function (loader_$0, data_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["loader", loader_$0, "data", data_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$4.lineno = 31;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#31/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 31;
return $lzsc$temp
})();
LzHTTPLoader.prototype.loadError = (function () {
var $lzsc$temp = function (loader_$0, data_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["loader", loader_$0, "data", data_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$4.lineno = 32;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#32/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 32;
return $lzsc$temp
})();
LzHTTPLoader.prototype.loadTimeout = (function () {
var $lzsc$temp = function (loader_$0, data_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["loader", loader_$0, "data", data_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$4.lineno = 33;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#33/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 33;
return $lzsc$temp
})();
LzHTTPLoader.prototype.loadContent = (function () {
var $lzsc$temp = function (self_$0, content_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["self", self_$0, "content", content_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$4.lineno = 35;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.options["parsexml"]) {
$4.lineno = 37, this.translateXML()
} else {
$4.lineno = 39, this.loadSuccess(this, content_$1)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#35/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 35;
return $lzsc$temp
})();
LzHTTPLoader.prototype.translateXML = (function () {
var $lzsc$temp = function () {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = [];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$8.lineno = 44;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var xml_$0 = this.responseXML;
if (xml_$0 == null || xml_$0.childNodes.length == 0 || lz.embed.browser.isFirefox && ($8.lineno = 47, LzXMLParser.getParserError(xml_$0)) != null) {
$8.lineno = 52, this.loadError(this, null)
} else {
var elt_$1;
var nodes_$2 = xml_$0.childNodes;
for (var i_$3 = 0;i_$3 < nodes_$2.length;i_$3++) {
var child_$4 = ($8.lineno = 58, nodes_$2.item(i_$3));
if (child_$4.nodeType == 1) {
elt_$1 = child_$4;
break
}};
if (elt_$1 != null) {
var lzxdata_$5 = ($8.lineno = 65, LzXMLTranslator.copyXML(elt_$1, this.options.trimwhitespace, this.options.nsprefix));
$8.lineno = 68, this.loadSuccess(this, lzxdata_$5)
} else {
$8.lineno = 71, this.loadError(this, null)
}}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#44/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 44;
return $lzsc$temp
})();
LzHTTPLoader.prototype.getResponse = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$2.lineno = 77;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.responseText
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#77/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 77;
return $lzsc$temp
})();
LzHTTPLoader.prototype.getResponseStatus = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$2.lineno = 82;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.responseStatus
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#82/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 82;
return $lzsc$temp
})();
LzHTTPLoader.prototype.getResponseHeaders = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$2.lineno = 87;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.responseHeaders
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#87/45";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 87;
return $lzsc$temp
})();
LzHTTPLoader.prototype.getResponseHeader = (function () {
var $lzsc$temp = function (key_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["key", key_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$3.lineno = 92;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return this.responseHeaders[key_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#92/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 92;
return $lzsc$temp
})();
LzHTTPLoader.prototype.setRequestHeaders = (function () {
var $lzsc$temp = function (obj_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["obj", obj_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$3.lineno = 100;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.requestheaders = obj_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#100/44";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 100;
return $lzsc$temp
})();
LzHTTPLoader.prototype.setRequestHeader = (function () {
var $lzsc$temp = function (key_$0, val_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["key", key_$0, "val", val_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$4.lineno = 108;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.requestheaders[key_$0] = val_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#108/43";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 108;
return $lzsc$temp
})();
LzHTTPLoader.prototype.setOption = (function () {
var $lzsc$temp = function (key_$0, val_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["key", key_$0, "val", val_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$4.lineno = 113;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.options[key_$0] = val_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#113/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 113;
return $lzsc$temp
})();
LzHTTPLoader.prototype.getOption = (function () {
var $lzsc$temp = function (key_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["key", key_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$3.lineno = 118;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return this.options[key_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#118/36";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 118;
return $lzsc$temp
})();
LzHTTPLoader.prototype.setProxied = (function () {
var $lzsc$temp = function (proxied_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["proxied", proxied_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$3.lineno = 123;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 124, this.setOption("proxied", proxied_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#123/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 123;
return $lzsc$temp
})();
LzHTTPLoader.prototype.setQueryParams = (function () {
var $lzsc$temp = function (qparams_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["qparams", qparams_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$3.lineno = 128;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.queryparams = qparams_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#128/41";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 128;
return $lzsc$temp
})();
LzHTTPLoader.prototype.setQueryString = (function () {
var $lzsc$temp = function (qstring_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["qstring", qstring_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$3.lineno = 133;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.querystring = qstring_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#133/41";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 133;
return $lzsc$temp
})();
LzHTTPLoader.prototype.setQueueing = (function () {
var $lzsc$temp = function (queuing_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["queuing", queuing_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$3.lineno = 141;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 142, this.setOption("queuing", queuing_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#141/38";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 141;
return $lzsc$temp
})();
LzHTTPLoader.prototype.abort = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$2.lineno = 146;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.req) {
this.__abort = true;
$2.lineno = 149, this.req.abort();
this.req = null;
$2.lineno = 151, this.removeTimeout(this)
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#146/32";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 146;
return $lzsc$temp
})();
LzHTTPLoader.prototype.open = (function () {
var $lzsc$temp = function (method_$0, url_$1, username_$2, password_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["method", method_$0, "url", url_$1, "username", username_$2, "password", password_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$6.lineno = 155;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (this.req) {
$6.lineno = 158, Debug.warn("pending request for id=%s", this.__loaderid);
$6.lineno = 160, this.abort()
};
this.req = window.XMLHttpRequest ? ($6.lineno = 165, new XMLHttpRequest()) : ($6.lineno = 165, new ActiveXObject("Microsoft.XMLHTTP"));
this.responseStatus = 0;
this.responseHeaders = null;
this.responseText = null;
this.responseXML = null;
this.__abort = false;
this.__timeout = false;
this.requesturl = url_$1;
this.requestmethod = method_$0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#155/31";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 155;
return $lzsc$temp
})();
LzHTTPLoader.prototype.send = (function () {
var $lzsc$temp = function (content_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["content", content_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$3.lineno = 178;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 179, this.loadXMLDoc(this.requestmethod, this.requesturl, this.requestheaders, content_$0, true)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#178/31";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 178;
return $lzsc$temp
})();
LzHTTPLoader.prototype.makeProxiedURL = (function () {
var $lzsc$temp = function (proxyurl_$0, url_$1, httpmethod_$2, lzt_$3, headers_$4, postbody_$5) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["proxyurl", proxyurl_$0, "url", url_$1, "httpmethod", httpmethod_$2, "lzt", lzt_$3, "headers", headers_$4, "postbody", postbody_$5];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$9.lineno = 190;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var params_$6 = {serverproxyargs: this.options.serverproxyargs, sendheaders: this.options.sendheaders, trimwhitespace: this.options.trimwhitespace, nsprefix: this.options.nsprefix, timeout: this.timeout, cache: this.options.cacheable, ccache: this.options.ccache, proxyurl: proxyurl_$0, url: url_$1, secure: this.secure, postbody: postbody_$5, headers: headers_$4, httpmethod: httpmethod_$2, service: lzt_$3};
return $9.lineno = 207, lz.Browser.makeProxiedURL(params_$6)
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#190/41";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 190;
return $lzsc$temp
})();
LzHTTPLoader.prototype.timeout = Infinity;
LzHTTPLoader.prototype.setTimeout = (function () {
var $lzsc$temp = function (timeout_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["timeout", timeout_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$3.lineno = 213;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.timeout = timeout_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#213/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 213;
return $lzsc$temp
})();
LzHTTPLoader.prototype.setupTimeout = (function () {
var $lzsc$temp = function (loader_$0, duration_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["loader", loader_$0, "duration", duration_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$7.lineno = 219;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var endtime_$2 = ($7.lineno = 220, ($7.lineno = 220, new Date()).getTime()) + duration_$1;
var lid_$3 = loader_$0.__loaderid;
LzHTTPLoader.activeRequests[lid_$3] = [loader_$0, endtime_$2];
var timeoutid_$4 = ($7.lineno = 224, setTimeout("LzHTTPLoader.__LZcheckXMLHTTPTimeouts(" + lid_$3 + ")", duration_$1));
LzHTTPLoader.activeRequests[lid_$3][2] = timeoutid_$4
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#219/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 219;
return $lzsc$temp
})();
LzHTTPLoader.prototype.removeTimeout = (function () {
var $lzsc$temp = function (loader_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["loader", loader_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$5.lineno = 229;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var lid_$1 = loader_$0.__loaderid;
if (lid_$1 != null) {
var reqarr_$2 = LzHTTPLoader.activeRequests[lid_$1];
if (reqarr_$2 && reqarr_$2[0] === loader_$0) {
$5.lineno = 235, clearTimeout(reqarr_$2[2]);
delete LzHTTPLoader.activeRequests[lid_$1]
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#229/40";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 229;
return $lzsc$temp
})();
LzHTTPLoader.__LZcheckXMLHTTPTimeouts = (function () {
var $lzsc$temp = function (lid_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["lid", lid_$0];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$8.lineno = 242;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var reqarr_$1 = LzHTTPLoader.activeRequests[lid_$0];
if (reqarr_$1) {
var now_$2 = ($8.lineno = 245, ($8.lineno = 245, new Date()).getTime());
var loader_$3 = reqarr_$1[0];
var dstimeout_$4 = reqarr_$1[1];
if (now_$2 >= dstimeout_$4) {
delete LzHTTPLoader.activeRequests[lid_$0];
loader_$3.__timeout = true;
if (loader_$3.req) {
$8.lineno = 254, loader_$3.req.abort()
};
loader_$3.req = null;
$8.lineno = 257, loader_$3.loadTimeout(loader_$3, null)
} else {
var timeoutid_$5 = ($8.lineno = 261, setTimeout("LzHTTPLoader.__LZcheckXMLHTTPTimeouts(" + lid_$0 + ")", now_$2 - dstimeout_$4));
reqarr_$1[2] = timeoutid_$5
}}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#242/41";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 242;
return $lzsc$temp
})();
LzHTTPLoader.prototype.getElapsedTime = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$2.lineno = 267;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return ($2.lineno = 268, ($2.lineno = 268, new Date()).getTime()) - this.gstart
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#267/41";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 267;
return $lzsc$temp
})();
LzHTTPLoader.prototype.__setRequestHeaders = (function () {
var $lzsc$temp = function (xhr_$0, headers_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["xhr", xhr_$0, "headers", headers_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$6.lineno = 272;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (headers_$1 != null) {
for (var key_$2 in headers_$1) {
var val_$3 = headers_$1[key_$2];
$6.lineno = 277, xhr_$0.setRequestHeader(key_$2, val_$3)
}}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#272/46";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 272;
return $lzsc$temp
})();
LzHTTPLoader.prototype.__getAllResponseHeaders = (function () {
var $lzsc$temp = function (xhr_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["xhr", xhr_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$7.lineno = 282;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var re_$1 = ($7.lineno = 283, new RegExp("^([-\\w]+):\\s*(\\S(?:.*\\S)?)\\s*$", "mg"));
var respheader_$2 = ($7.lineno = 284, xhr_$0.getAllResponseHeaders());
var allheaders_$3 = {};
var header_$4;
while ((header_$4 = ($7.lineno = 288, re_$1.exec(respheader_$2))) != null) {
allheaders_$3[header_$4[1]] = header_$4[2]
};
return allheaders_$3
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#282/50";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 282;
return $lzsc$temp
})();
LzHTTPLoader.prototype.loadXMLDoc = (function () {
var $lzsc$temp = function (method_$0, url_$1, headers_$2, postbody_$3, ignorewhite_$4) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["method", method_$0, "url", url_$1, "headers", headers_$2, "postbody", postbody_$3, "ignorewhite", ignorewhite_$4];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$8.lineno = 298;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
if (this.req) {
var self = this;
this.req.onreadystatechange = (function () {
var $lzsc$temp = function () {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = [];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzHTTPLoader.js";
$5.lineno = 302;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var xhr_$0 = self.req;
if (xhr_$0 == null) {
return
};
if (xhr_$0.readyState == 4) {
if (self.__timeout) {

} else if (self.__abort) {

} else {
$5.lineno = 312, self.removeTimeout(self);
self.req = null;
var status_$1 = -1;
try {
status_$1 = xhr_$0.status
}
catch (e_$2) {};
self.responseStatus = status_$1;
if (status_$1 == 200 || status_$1 == 304) {
self.responseXML = xhr_$0.responseXML;
self.responseText = xhr_$0.responseText;
self.responseHeaders = ($5.lineno = 328, self.__getAllResponseHeaders(xhr_$0));
$5.lineno = 336, self.loadContent(self, self.responseText)
} else {
$5.lineno = 338, self.loadError(self, null)
}}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#302/39";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 302;
return $lzsc$temp
})();
try {
$8.lineno = 345, this.req.open(method_$0, url_$1, true)
}
catch (e_$5) {
this.req = null;
$8.lineno = 349, this.loadError(this, null);
return
};
if (method_$0 == "POST" && headers_$2["content-type"] == null) {
headers_$2["content-type"] = "application/x-www-form-urlencoded"
};
$8.lineno = 357, this.__setRequestHeaders(this.req, headers_$2);
this.gstart = ($8.lineno = 358, ($8.lineno = 358, new Date()).getTime());
try {
$8.lineno = 360, this.req.send(postbody_$3)
}
catch (e_$5) {
this.req = null;
$8.lineno = 364, this.loadError(this, null);
return
};
if ($8.lineno = 369, isFinite(this.timeout)) {
$8.lineno = 370, this.setupTimeout(this, this.timeout)
}}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzHTTPLoader.js#298/37";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzHTTPLoader.js";
$lzsc$temp["_dbg_lineno"] = 298;
return $lzsc$temp
})();
var LzScreenKernel = {width: null, height: null, __resizeEvent: (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzScreenKernel.js";
$3.lineno = 16;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var rootcontainerdiv_$0 = LzSprite.__rootSpriteContainer;
LzScreenKernel.width = rootcontainerdiv_$0.offsetWidth;
LzScreenKernel.height = rootcontainerdiv_$0.offsetHeight;
if (LzScreenKernel.__callback) $3.lineno = 56, LzScreenKernel.__scope[LzScreenKernel.__callback]({width: LzScreenKernel.width, height: LzScreenKernel.height})
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzScreenKernel.js#16/21";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzScreenKernel.js";
$lzsc$temp["_dbg_lineno"] = 16;
return $lzsc$temp
})(), __init: (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzScreenKernel.js";
$2.lineno = 59;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 60, lz.embed.attachEventHandler(window.top, "resize", LzScreenKernel, "__resizeEvent")
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzScreenKernel.js#59/14";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzScreenKernel.js";
$lzsc$temp["_dbg_lineno"] = 59;
return $lzsc$temp
})(), __callback: null, __scope: null, setCallback: (function () {
var $lzsc$temp = function (scope_$0, funcname_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["scope", scope_$0, "funcname", funcname_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzScreenKernel.js";
$4.lineno = 64;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.__scope = scope_$0;
this.__callback = funcname_$1;
$4.lineno = 67, this.__init();
$4.lineno = 68, this.__resizeEvent()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzScreenKernel.js#64/19";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzScreenKernel.js";
$lzsc$temp["_dbg_lineno"] = 64;
return $lzsc$temp
})()};
Class.make("LzContextMenuKernel", null, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (newowner_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["newowner", newowner_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$3.lineno = 17;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.owner = newowner_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 17;
return $lzsc$temp
})(), "owner", null, "showbuiltins", false, "_delegate", null, "setDelegate", (function () {
var $lzsc$temp = function (delegate_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["delegate", delegate_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$3.lineno = 33;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this._delegate = delegate_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setDelegate";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 33;
return $lzsc$temp
})(), "addItem", (function () {
var $lzsc$temp = function (item_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["item", item_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$3.lineno = 43;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "addItem";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 43;
return $lzsc$temp
})(), "hideBuiltInItems", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$2.lineno = 51;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.showbuiltins = false
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "hideBuiltInItems";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 51;
return $lzsc$temp
})(), "showBuiltInItems", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$2.lineno = 59;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.showbuiltins = true
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "showBuiltInItems";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 59;
return $lzsc$temp
})(), "clearItems", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$2.lineno = 68;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "clearItems";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 68;
return $lzsc$temp
})(), "__show", (function () {
var $lzsc$temp = function () {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = [];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$b.lineno = 85;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
var owner_$0 = this.owner;
var del_$1 = this._delegate;
if (del_$1 != null) $b.lineno = 89, del_$1.execute(owner_$0);
if (owner_$0.onmenuopen.ready) $b.lineno = 90, owner_$0.onmenuopen.sendEvent(owner_$0);
var classlist_$2 = [];
var items_$3 = ($b.lineno = 93, owner_$0.getItems());
var _items_$4 = {};
for (var i_$5 = 0;i_$5 < items_$3.length;i_$5++) {
var v_$6 = items_$3[i_$5].kernel.cmenuitem;
var caption_$7 = v_$6.caption;
if (v_$6.visible != true || (caption_$7 in _items_$4)) {
continue
};
_items_$4[caption_$7] = true;
if (v_$6.separatorBefore) {
$b.lineno = 106, classlist_$2.push({type: "separator"})
};
if (v_$6.enabled) {
$b.lineno = 111, classlist_$2.push({type: "text", label: caption_$7, offset: i_$5})
} else {
$b.lineno = 114, classlist_$2.push({type: "disabled", label: caption_$7, offset: i_$5})
}};
LzMouseKernel.__showncontextmenu = this;
var s_$8 = LzContextMenuKernel.lzcontextmenu || ($b.lineno = 122, LzContextMenuKernel.__create());
$b.lineno = 123, s_$8.setItems(classlist_$2);
$b.lineno = 124, s_$8.show()
}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "__show";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 85;
return $lzsc$temp
})(), "__hide", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$2.lineno = 128;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
LzMouseKernel.__showncontextmenu = null
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__hide";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 128;
return $lzsc$temp
})(), "__select", (function () {
var $lzsc$temp = function (i_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["i", i_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$4.lineno = 133;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var items_$1 = ($4.lineno = 134, this.owner.getItems());
if (items_$1 && items_$1[i_$0]) $4.lineno = 135, items_$1[i_$0].kernel.__select()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__select";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 133;
return $lzsc$temp
})()], ["lzcontextmenu", null, "__create", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$3.lineno = 76;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var s_$0 = LzContextMenuKernel.lzcontextmenu;
if (!s_$0) {
LzContextMenuKernel.lzcontextmenu = s_$0 = ($3.lineno = 79, new (lz.lzcontextmenu)(canvas))
};
return s_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__create";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 76;
return $lzsc$temp
})()]);
Class.make("LzContextMenuItemKernel", null, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (newowner_$0, title_$1, del_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["newowner", newowner_$0, "title", title_$1, "del", del_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$5.lineno = 147;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
this.owner = newowner_$0;
this.cmenuitem = {visible: true, enabled: true, separatorBefore: false, caption: title_$1};
$5.lineno = 150, this.setDelegate(del_$2)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 147;
return $lzsc$temp
})(), "owner", null, "cmenuitem", null, "_delegate", null, "setDelegate", (function () {
var $lzsc$temp = function (delegate_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["delegate", delegate_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$3.lineno = 166;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this._delegate = delegate_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setDelegate";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 166;
return $lzsc$temp
})(), "setCaption", (function () {
var $lzsc$temp = function (caption_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["caption", caption_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$3.lineno = 176;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.cmenuitem.caption = caption_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setCaption";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 176;
return $lzsc$temp
})(), "getCaption", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$2.lineno = 185;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.cmenuitem.caption
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getCaption";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 185;
return $lzsc$temp
})(), "setEnabled", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$3.lineno = 194;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.cmenuitem.enabled = val_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setEnabled";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 194;
return $lzsc$temp
})(), "setSeparatorBefore", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$3.lineno = 205;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.cmenuitem.separatorBefore = val_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setSeparatorBefore";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 205;
return $lzsc$temp
})(), "setVisible", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$3.lineno = 215;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.cmenuitem.visible = val_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setVisible";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 215;
return $lzsc$temp
})(), "__select", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$4.lineno = 220;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var owner_$0 = this.owner;
var delegate_$1 = this._delegate;
if (delegate_$1 != null) {
if (delegate_$1 instanceof LzDelegate) {
$4.lineno = 225, delegate_$1.execute(owner_$0)
} else if (typeof delegate_$1 == "function") {
$4.lineno = 227, delegate_$1()
} else {
$4.lineno = 229, Debug.error("LzContextMenuItem.setDelegate must be passed a delegate", owner_$0, delegate_$1)
}};
if (owner_$0.onselect.ready) $4.lineno = 232, owner_$0.onselect.sendEvent(owner_$0)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__select";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzContextMenuKernel.lzs";
$lzsc$temp["_dbg_lineno"] = 220;
return $lzsc$temp
})()], null);
if (LzSprite.quirks.ie_timer_closure) {
(function () {
var $lzsc$temp = function (f_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["f", f_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTimeKernel.js";
$3.lineno = 18;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
window.setTimeout = ($3.lineno = 19, f_$0(window.setTimeout));
window.setInterval = ($3.lineno = 20, f_$0(window.setInterval))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTimeKernel.js#18/4";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTimeKernel.js";
$lzsc$temp["_dbg_lineno"] = 18;
return $lzsc$temp
})()((function () {
var $lzsc$temp = function (f) {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = ["f", f];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzTimeKernel.js";
$2.lineno = 21;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return (function () {
var $lzsc$temp = function (c, t_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["c", c, "t", t_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTimeKernel.js";
$3.lineno = 22;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var a = ($3.lineno = 23, Array.prototype.slice.call(arguments, 2));
if (typeof c != "function") c = ($3.lineno = 25, new Function(c));
return( $3.lineno = 26, f((function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzTimeKernel.js";
$2.lineno = 26;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 27, c.apply(this, a)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTimeKernel.js#26/18";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTimeKernel.js";
$lzsc$temp["_dbg_lineno"] = 26;
return $lzsc$temp
})(), t_$0))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTimeKernel.js#22/12";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTimeKernel.js";
$lzsc$temp["_dbg_lineno"] = 22;
return $lzsc$temp
})()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTimeKernel.js#21/6";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTimeKernel.js";
$lzsc$temp["_dbg_lineno"] = 21;
return $lzsc$temp
})())
};
var LzTimeKernel = {setTimeout: (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzTimeKernel.js";
$2.lineno = 34;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 35, window.setTimeout.apply(window, arguments)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTimeKernel.js#34/17";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTimeKernel.js";
$lzsc$temp["_dbg_lineno"] = 34;
return $lzsc$temp
})(), setInterval: (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzTimeKernel.js";
$2.lineno = 37;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 38, window.setInterval.apply(window, arguments)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTimeKernel.js#37/19";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTimeKernel.js";
$lzsc$temp["_dbg_lineno"] = 37;
return $lzsc$temp
})(), clearTimeout: (function () {
var $lzsc$temp = function (id_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["id", id_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTimeKernel.js";
$3.lineno = 40;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 41, window.clearTimeout(id_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTimeKernel.js#40/20";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTimeKernel.js";
$lzsc$temp["_dbg_lineno"] = 40;
return $lzsc$temp
})(), clearInterval: (function () {
var $lzsc$temp = function (id_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["id", id_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/kernel/dhtml/LzTimeKernel.js";
$3.lineno = 43;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 44, window.clearInterval(id_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTimeKernel.js#43/21";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTimeKernel.js";
$lzsc$temp["_dbg_lineno"] = 43;
return $lzsc$temp
})(), startTime: new Date().valueOf(), getTimer: (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/kernel/dhtml/LzTimeKernel.js";
$2.lineno = 49;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return ($2.lineno = 50, ($2.lineno = 50, new Date()).valueOf()) - LzTimeKernel.startTime
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzTimeKernel.js#49/16";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzTimeKernel.js";
$lzsc$temp["_dbg_lineno"] = 49;
return $lzsc$temp
})()};
var LzFontManager = new Object();
LzFontManager.fonts = {};
LzFontManager.addFont = (function () {
var $lzsc$temp = function (fontname_$0, fontstyle_$1, fontweight_$2, path_$3, ptype_$4) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["fontname", fontname_$0, "fontstyle", fontstyle_$1, "fontweight", fontweight_$2, "path", path_$3, "ptype", ptype_$4];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzFontManager.js";
$8.lineno = 35;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var fontobj_$5 = {name: fontname_$0, style: fontstyle_$1, weight: fontweight_$2, url: path_$3, ptype: ptype_$4};
LzFontManager.fonts[fontname_$0 + "_" + fontstyle_$1 + "_" + fontweight_$2] = fontobj_$5
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzFontManager.js#35/25";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzFontManager.js";
$lzsc$temp["_dbg_lineno"] = 35;
return $lzsc$temp
})();
LzFontManager.generateCSS = (function () {
var $lzsc$temp = function () {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = [];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/kernel/dhtml/LzFontManager.js";
$8.lineno = 42;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var fonts_$0 = LzFontManager.fonts;
var output_$1 = "";
for (var i_$2 in fonts_$0) {
var font_$3 = fonts_$0[i_$2];
var url_$4 = ($8.lineno = 47, LzFontManager.getURL(font_$3));
var i_$2 = ($8.lineno = 48, url_$4.lastIndexOf(".ttf"));
var ieurl_$5 = ($8.lineno = 49, url_$4.substring(0, i_$2)) + ".eot";
output_$1 += "@font-face{font-family:" + font_$3.name + ";src:url(" + ieurl_$5 + ');src:local("' + font_$3.name + '"), url(' + url_$4 + ') format("truetype");font-weight:' + font_$3.weight + ";font-style:" + font_$3.style + ";}"
};
return output_$1
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzFontManager.js#42/29";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzFontManager.js";
$lzsc$temp["_dbg_lineno"] = 42;
return $lzsc$temp
})();
LzFontManager.getURL = (function () {
var $lzsc$temp = function (font_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["font", font_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/kernel/dhtml/LzFontManager.js";
$4.lineno = 55;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var baseurl_$1 = ($4.lineno = 56, LzSprite.prototype.getBaseUrl(font_$0));
return baseurl_$1 + font_$0.url
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzFontManager.js#55/24";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzFontManager.js";
$lzsc$temp["_dbg_lineno"] = 55;
return $lzsc$temp
})();
LzFontManager.getFont = (function () {
var $lzsc$temp = function (fontname_$0, fontstyle_$1, fontweight_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["fontname", fontname_$0, "fontstyle", fontstyle_$1, "fontweight", fontweight_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/kernel/dhtml/LzFontManager.js";
$5.lineno = 60;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
return this.fonts[fontname_$0 + "_" + fontstyle_$1 + "_" + fontweight_$2]
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "kernel/dhtml/LzFontManager.js#60/25";
$lzsc$temp["_dbg_filename"] = "lfc/kernel/dhtml/LzFontManager.js";
$lzsc$temp["_dbg_lineno"] = 60;
return $lzsc$temp
})();
Class.make("LzView", LzNode, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LaszloView.lzs";
$6.lineno = 51;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 52, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 51;
return $lzsc$temp
})(), "__LZlayout", void 0, "__LZstoredbounds", void 0, "__movecounter", 0, "__mousecache", null, "playing", false, "_visible", void 0, "$lzc$set_visible", (function () {
var $lzsc$temp = function (amVisible_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["amVisible", amVisible_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 93;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this._visible == amVisible_$0) return;
this._visible = amVisible_$0;
if (amVisible_$0) {
var v_$1 = "visible"
} else if (amVisible_$0 == null) {
$4.lineno = 102, Debug.info("%w.%s(%w) is deprecated.  Perhaps you meant %w.%s(%s)?  If not, use %w.%s('collapse').", this, arguments.callee, amVisible_$0, this, arguments.callee, false, this, this.setVisibility);
var v_$1 = "collapse"
} else {
var v_$1 = "hidden"
};
this.visibility = v_$1;
if (this.onvisibility.ready) $4.lineno = 111, this.onvisibility.sendEvent(this.visibility);
$4.lineno = 112, this.__LZupdateShown()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_visible";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 93;
return $lzsc$temp
})(), "onaddsubview", LzDeclaredEvent, "onblur", LzDeclaredEvent, "onclick", LzDeclaredEvent, "onclickable", LzDeclaredEvent, "onfocus", LzDeclaredEvent, "onframe", LzDeclaredEvent, "onheight", LzDeclaredEvent, "onkeyup", LzDeclaredEvent, "onkeydown", LzDeclaredEvent, "onlastframe", LzDeclaredEvent, "onload", LzDeclaredEvent, "onframesloadratio", LzDeclaredEvent, "onloadratio", LzDeclaredEvent, "onerror", LzDeclaredEvent, "ontimeout", LzDeclaredEvent, "onmousedown", LzDeclaredEvent, "onmouseout", LzDeclaredEvent, "onmouseover", LzDeclaredEvent, "onmousetrackover", LzDeclaredEvent, "onmousetrackup", LzDeclaredEvent, "onmousetrackout", LzDeclaredEvent, "onmouseup", LzDeclaredEvent, "onmousedragin", LzDeclaredEvent, "onmousedragout", LzDeclaredEvent, "onmouseupoutside", LzDeclaredEvent, "onopacity", LzDeclaredEvent, "onplay", LzDeclaredEvent, "onremovesubview", LzDeclaredEvent, "onresource", LzDeclaredEvent, "onresourceheight", LzDeclaredEvent, "onresourcewidth", LzDeclaredEvent, "onrotation", LzDeclaredEvent, "onstop", LzDeclaredEvent, "ontotalframes", LzDeclaredEvent, "onunstretchedheight", LzDeclaredEvent, "onunstretchedwidth", LzDeclaredEvent, "onvisible", LzDeclaredEvent, "onvisibility", LzDeclaredEvent, "onwidth", LzDeclaredEvent, "onx", LzDeclaredEvent, "onxoffset", LzDeclaredEvent, "ony", LzDeclaredEvent, "onyoffset", LzDeclaredEvent, "onfont", LzDeclaredEvent, "onfontsize", LzDeclaredEvent, "onfontstyle", LzDeclaredEvent, "ondblclick", LzDeclaredEvent, "DOUBLE_CLICK_TIME", 500, "onclip", LzDeclaredEvent, "capabilities", void 0, "construct", (function () {
var $lzsc$temp = function (parent_$0, args_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["parent", parent_$0, "args", args_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 433;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($4.lineno = 434, this.nextMethod(arguments.callee, "construct"))).call(this, parent_$0 ? parent_$0 : canvas, args_$1);
this.__LZdelayedSetters = LzView.__LZdelayedSetters;
this.earlySetters = LzView.earlySetters;
this.mask = this.immediateparent.mask;
$4.lineno = 442, this.__makeSprite(args_$1);
this.capabilities = this.sprite.capabilities;
if (this.capabilities.setid) {
$4.lineno = 448, this.sprite.setID(($4.lineno = 448, this._dbg_name()))
};
if (args_$1["width"] != null || ($4.lineno = 452, this.__LZhasConstraint("width"))) {
this.hassetwidth = true;
this.__LZcheckwidth = false
};
if (args_$1["height"] != null || ($4.lineno = 456, this.__LZhasConstraint("height"))) {
this.hassetheight = true;
this.__LZcheckheight = false
};
if (args_$1["clip"]) {
this.clip = args_$1.clip;
$4.lineno = 463, this.makeMasked()
};
if (args_$1["stretches"] != null) {
$4.lineno = 466, this.$lzc$set_stretches(args_$1.stretches);
args_$1.stretches = LzNode._ignoreAttribute
};
if (args_$1["resource"] != null) {
$4.lineno = 471, this.$lzc$set_resource(args_$1.resource);
args_$1.resource = LzNode._ignoreAttribute
};
if (args_$1["fgcolor"] != null) {
this.hasfgcolor = true
};
if (args_$1["valign"] && args_$1["y"]) {
$4.lineno = 481, Debug.warn(this, "y attribute ignored; superseded by valign constraint.")
};
if (args_$1["align"] && args_$1["x"]) {
$4.lineno = 484, Debug.warn(this, "x attribute ignored; superseded by align constraint.")
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 433;
return $lzsc$temp
})(), "__spriteAttribute", (function () {
var $lzsc$temp = function (attrname_$0, value_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["attrname", attrname_$0, "value", value_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 494;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this[attrname_$0]) {
if (!this.__LZdeleted) {
var $lzsc$1226590677 = "$lzc$set_" + attrname_$0;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this[$lzsc$1226590677]) : this[$lzsc$1226590677] instanceof Function) {
this[$lzsc$1226590677](value_$1)
} else {
this[attrname_$0] = value_$1;
var $lzsc$658534611 = this["on" + attrname_$0];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$658534611) : $lzsc$658534611 instanceof LzEvent) {
if ($lzsc$658534611.ready) {
$lzsc$658534611.sendEvent(value_$1)
}}}}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__spriteAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 494;
return $lzsc$temp
})(), "__makeSprite", (function () {
var $lzsc$temp = function (args_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["args", args_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 503;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.sprite = ($3.lineno = 504, new LzSprite(this, false))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__makeSprite";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 503;
return $lzsc$temp
})(), "init", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 513;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.__updateshadowoninit) {
delete this.__updateshadowoninit;
$2.lineno = 516, this.__updateShadow()
};
if (this.sprite) {
$2.lineno = 519, this.sprite.init(this.visible)
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "init";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 513;
return $lzsc$temp
})(), "addSubview", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 529;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (s_$0.addedToParent) return;
if (this.sprite) {
$3.lineno = 533, this.sprite.addChildSprite(s_$0.sprite)
};
if (this.subviews.length == 0) {
this.subviews = []
};
$3.lineno = 543, this.subviews.push(s_$0);
s_$0.addedToParent = true;
if (this.__LZcheckwidth) $3.lineno = 548, this.__LZcheckwidthFunction(s_$0);
if (this.__LZcheckheight) $3.lineno = 550, this.__LZcheckheightFunction(s_$0);
if (this.onaddsubview.ready) $3.lineno = 552, this.onaddsubview.sendEvent(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "addSubview";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 529;
return $lzsc$temp
})(), "__LZinstantiationDone", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 560;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var vip_$0 = this.immediateparent;
if (vip_$0) {
$3.lineno = 563, vip_$0.addSubview(this)
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["__LZinstantiationDone"] || ($3.lineno = 566, this.nextMethod(arguments.callee, "__LZinstantiationDone"))).call(this)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZinstantiationDone";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 560;
return $lzsc$temp
})(), "mask", void 0, "focusable", false, "focustrap", void 0, "clip", false, "$lzc$set_clip", (function () {
var $lzsc$temp = function (c_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["c", c_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 599;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.clip = c_$0;
if (c_$0) {
$3.lineno = 602, this.makeMasked()
} else {
$3.lineno = 604, this.removeMask()
};
if (this.onclip.ready) $3.lineno = 606, this.onclip.sendEvent(this.clip)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_clip";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 599;
return $lzsc$temp
})(), "align", "left", "$lzc$set_align", (function () {
var $lzsc$temp = function (align_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
var map_$1;
if ($5) {
var $6 = ["align", align_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LaszloView.lzs";
$6.lineno = 617;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
map_$1 = (function () {
var $lzsc$temp = function (align_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["align", align_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 622;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (align_$0) {
case "center":
return "__LZalignCenter";;case "right":
return "__LZalignRight";;case "left":
return null
};
$3.lineno = 629, Debug.error("%w.setAttribute(%w, %w): Invalid argument.  Valid choices are: 'left', 'center', or 'right'.", view, "align", align_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "map";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 622;
return $lzsc$temp
})();
if (this.align == align_$0) return;
var view = this;
var from_$2 = ($6.lineno = 633, map_$1(this.align));
var to_$3 = ($6.lineno = 634, map_$1(align_$0));
if (from_$2 != null) {
$6.lineno = 636, this.releaseConstraintMethod(from_$2)
};
if (to_$3 != null) {
$6.lineno = 639, this.applyConstraintMethod(to_$3, [this.immediateparent, "width", this, "width"])
} else {
$6.lineno = 641, this.$lzc$set_x(0)
};
this.align = align_$0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_align";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 617;
return $lzsc$temp
})(), "valign", "top", "$lzc$set_valign", (function () {
var $lzsc$temp = function (valign) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
var map_$0;
if ($4) {
var $5 = ["valign", valign];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/views/LaszloView.lzs";
$5.lineno = 657;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
map_$0 = (function () {
var $lzsc$temp = function (align_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["align", align_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 662;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (align_$0) {
case "middle":
return "__LZvalignMiddle";;case "bottom":
return "__LZvalignBottom";;case "top":
return null
};
$3.lineno = 669, Debug.error("%w.setAttribute(%w, %w): Invalid argument.  Valid choices are: 'top', 'middle', or 'bottom'.", view, "valign", valign)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "map";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 662;
return $lzsc$temp
})();
if (this.valign == valign) return;
var view = this;
var from_$1 = ($5.lineno = 673, map_$0(this.valign));
var to_$2 = ($5.lineno = 674, map_$0(valign));
if (from_$1 != null) {
$5.lineno = 676, this.releaseConstraintMethod(from_$1)
};
if (to_$2 != null) {
$5.lineno = 679, this.applyConstraintMethod(to_$2, [this.immediateparent, "height", this, "height"])
} else {
$5.lineno = 681, this.$lzc$set_y(0)
};
this.valign = valign
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_valign";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 657;
return $lzsc$temp
})(), "source", void 0, "$lzc$set_source", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 701;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 701, this.setSource(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_source";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 701;
return $lzsc$temp
})(), "clickregion", void 0, "$lzc$set_clickregion", (function () {
var $lzsc$temp = function (cr_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["cr", cr_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 713;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.clickregion) {
$3.lineno = 715, this.sprite.setClickRegion(cr_$0)
} else {
$3.lineno = 717, LzView.__warnCapability("view.clickregion", "clickregion")
};
this.clickregion = cr_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_clickregion";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 713;
return $lzsc$temp
})(), "cursor", void 0, "fgcolor", 0, "hasfgcolor", false, "onfgcolor", LzDeclaredEvent, "$lzc$set_fgcolor", (function () {
var $lzsc$temp = function (c_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["c", c_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 750;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.tintcolor != "") {
$3.lineno = 753, Debug.warn("Setting fgcolor when tintcolor is already set")
};
if (c_$0 != null && ($3.lineno = 759, isNaN(c_$0))) {
c_$0 = ($3.lineno = 760, this.acceptTypeValue("color", c_$0))
};
$3.lineno = 762, this.sprite.setColor(c_$0);
this.fgcolor = c_$0;
if (this.onfgcolor.ready) $3.lineno = 764, this.onfgcolor.sendEvent(c_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_fgcolor";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 750;
return $lzsc$temp
})(), "font", void 0, "fontname", void 0, "$lzc$set_font", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 783;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.font = val_$0;
this.fontname = val_$0;
if (this.onfont.ready) {
$3.lineno = 787, this.onfont.sendEvent(this.font)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_font";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 783;
return $lzsc$temp
})(), "fontstyle", void 0, "$lzc$set_fontstyle", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 799;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (val_$0 == "plain" || val_$0 == "bold" || val_$0 == "italic" || val_$0 == "bolditalic" || val_$0 == "bold italic") {
this.fontstyle = val_$0;
if (this.onfontstyle.ready) {
$3.lineno = 803, this.onfontstyle.sendEvent(this.fontstyle)
}} else {
$3.lineno = 806, Debug.warn('invalid font style "%s" on %w', val_$0, this)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_fontstyle";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 799;
return $lzsc$temp
})(), "fontsize", void 0, "$lzc$set_fontsize", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 818;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!(val_$0 <= 0 || ($3.lineno = 819, isNaN(val_$0)))) {
this.fontsize = val_$0;
if (this.onfontsize.ready) {
$3.lineno = 822, this.onfontsize.sendEvent(this.fontsize)
}} else {
$3.lineno = 825, Debug.warn("invalid font size", val_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_fontsize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 818;
return $lzsc$temp
})(), "stretches", "none", "$lzc$set_stretches", (function () {
var $lzsc$temp = function (stretch_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["stretch", stretch_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 842;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (!(stretch_$0 == "none" || stretch_$0 == "both" || stretch_$0 == "width" || stretch_$0 == "height")) {
var newstretch_$1 = stretch_$0 == null ? "both" : (stretch_$0 == "x" ? "width" : (stretch_$0 == "y" ? "height" : "none"));
if (newstretch_$1 != "none") {
$4.lineno = 848, Debug.info("%w.%s(%w) is deprecated.  Use %w.%s(%w) instead.", this, arguments.callee, stretch_$0, this, arguments.callee, newstretch_$1)
};
stretch_$0 = newstretch_$1
} else if (this.stretches == stretch_$0) {
return
};
this.stretches = stretch_$0;
$4.lineno = 858, this.sprite.stretchResource(stretch_$0);
if (stretch_$0 == "width" || stretch_$0 == "both") {
this._setrescwidth = true;
this.__LZcheckwidth = true;
$4.lineno = 863, this.reevaluateSize("width")
};
if (stretch_$0 == "height" || stretch_$0 == "both") {
this._setrescheight = true;
this.__LZcheckheight = true;
$4.lineno = 869, this.reevaluateSize("height")
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_stretches";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 842;
return $lzsc$temp
})(), "layout", void 0, "$lzc$set_layout", (function () {
var $lzsc$temp = function (layoutobj_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["layoutobj", layoutobj_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LaszloView.lzs";
$6.lineno = 887;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
this.layout = layoutobj_$0;
if (!this.isinited) {
$6.lineno = 890, this.__LZstoreAttr(layoutobj_$0, "layout");
return
};
var classname_$1 = layoutobj_$0["class"];
if (classname_$1 == null) {
classname_$1 = "simplelayout"
};
if (this.__LZlayout) {
$6.lineno = 901, this.__LZlayout.destroy()
};
if (classname_$1 != "none") {
var o_$2 = {};
for (var i_$3 in layoutobj_$0) {
if (i_$3 != "class") {
o_$2[i_$3] = layoutobj_$0[i_$3]
}};
if (classname_$1 == "null") {
this.__LZlayout = null;
return
};
this.__LZlayout = ($6.lineno = 920, new (lz[classname_$1])(this, o_$2))
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_layout";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 887;
return $lzsc$temp
})(), "aaactive", void 0, "$lzc$set_aaactive", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 931;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.accessibility) {
this.aaactive = s_$0;
$3.lineno = 934, this.sprite.setAAActive(s_$0)
} else {
$3.lineno = 936, LzView.__warnCapability("view.aaactive", "accessibility")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_aaactive";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 931;
return $lzsc$temp
})(), "aaname", void 0, "$lzc$set_aaname", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 947;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.accessibility) {
this.aaname = s_$0;
$3.lineno = 950, this.sprite.setAAName(s_$0)
} else {
$3.lineno = 952, LzView.__warnCapability("view.aaname", "accessibility")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_aaname";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 947;
return $lzsc$temp
})(), "aadescription", void 0, "$lzc$set_aadescription", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 963;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.accessibility) {
this.aadescription = s_$0;
$3.lineno = 966, this.sprite.setAADescription(s_$0)
} else {
$3.lineno = 968, LzView.__warnCapability("view.aadescription", "accessibility")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_aadescription";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 963;
return $lzsc$temp
})(), "aatabindex", void 0, "$lzc$set_aatabindex", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 979;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.accessibility) {
this.aatabindex = s_$0;
$3.lineno = 982, this.sprite.setAATabIndex(s_$0)
} else {
$3.lineno = 984, LzView.__warnCapability("view.aatabindex", "accessibility")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_aatabindex";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 979;
return $lzsc$temp
})(), "aasilent", void 0, "$lzc$set_aasilent", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 996;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.accessibility) {
this.aasilent = s_$0;
$3.lineno = 999, this.sprite.setAASilent(s_$0)
} else {
$3.lineno = 1001, LzView.__warnCapability("view.aasilent", "accessibility")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_aasilent";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 996;
return $lzsc$temp
})(), "sendAAEvent", (function () {
var $lzsc$temp = function (childID_$0, eventType_$1, nonHTML_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["childID", childID_$0, "eventType", eventType_$1, "nonHTML", nonHTML_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/views/LaszloView.lzs";
$5.lineno = 1010;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 2:
nonHTML_$2 = false
};
if (this.capabilities.accessibility) {
$5.lineno = 1012, this.sprite.sendAAEvent(childID_$0, eventType_$1, nonHTML_$2)
} else {
$5.lineno = 1014, LzView.__warnCapability("view.sendAAEvent()", "accessibility")
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "sendAAEvent";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1010;
return $lzsc$temp
})(), "sprite", null, "visible", true, "visibility", "collapse", "$lzc$set_visibility", (function () {
var $lzsc$temp = function (amVisible_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["amVisible", amVisible_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1050;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.visibility == amVisible_$0) return;
this.visibility = amVisible_$0;
if (!(amVisible_$0 == "visible" || amVisible_$0 == "hidden" || amVisible_$0 == "collapse")) {
$3.lineno = 1055, Debug.error("%w.%s called with unknown arg '%s' use 'visible', 'hidden', or 'collapse'.", this, arguments.callee, amVisible_$0)
};
if (this.onvisibility.ready) $3.lineno = 1059, this.onvisibility.sendEvent(amVisible_$0);
$3.lineno = 1060, this.__LZupdateShown()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_visibility";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1050;
return $lzsc$temp
})(), "__LZvizO", true, "__LZvizLoad", true, "__LZvizDat", true, "opacity", 1, "$lzc$set_opacity", (function () {
var $lzsc$temp = function (v_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["v", v_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/views/LaszloView.lzs";
$5.lineno = 1082;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (this.capabilities.opacity) {
$5.lineno = 1084, this.sprite.setOpacity(v_$0)
} else {
$5.lineno = 1086, LzView.__warnCapability("view.opacity", "opacity")
};
this.opacity = v_$0;
if (this.onopacity.ready) $5.lineno = 1089, this.onopacity.sendEvent(v_$0);
var coviz_$1 = this.__LZvizO;
var newoviz_$2 = v_$0 != 0;
if (coviz_$1 != newoviz_$2) {
this.__LZvizO = newoviz_$2;
$5.lineno = 1094, this.__LZupdateShown()
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_opacity";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1082;
return $lzsc$temp
})(), "$lzc$set_alpha", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1099;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1099, this.$lzc$set_opacity(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_alpha";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1099;
return $lzsc$temp
})(), "bgcolor", null, "onbgcolor", LzDeclaredEvent, "$lzc$set_bgcolor", (function () {
var $lzsc$temp = function (bgc_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["bgc", bgc_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1118;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (bgc_$0 != null && ($3.lineno = 1122, isNaN(bgc_$0))) {
bgc_$0 = ($3.lineno = 1123, this.acceptTypeValue("color", bgc_$0))
} else if (bgc_$0 < 0) {
bgc_$0 = null
};
$3.lineno = 1128, this.sprite.setBGColor(bgc_$0);
this.bgcolor = bgc_$0;
if (this.onbgcolor.ready) $3.lineno = 1130, this.onbgcolor.sendEvent(bgc_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_bgcolor";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1118;
return $lzsc$temp
})(), "x", 0, "__set_x_memo", void 0, "$lzc$set_x", (function () {
var $lzsc$temp = function (v_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["v", v_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 1156;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.x = v_$0;
if (this.__set_x_memo === v_$0) {
if (this.onx.ready) {
$4.lineno = 1162, this.onx.sendEvent(this.x)
};
return
};
this.__set_x_memo = v_$0;
this.__mousecache = null;
if (this.__LZhasoffset) {
if (this.capabilities.rotation) {
v_$0 -= this.xoffset * this.__LZrcos - this.yoffset * this.__LZrsin
} else {
v_$0 -= this.xoffset
}};
if (this.pixellock) v_$0 = ($4.lineno = 1180, Math.floor(v_$0));
$4.lineno = 1181, this.sprite.setX(v_$0);
var vip_$1 = this.immediateparent;
if (vip_$1.__LZcheckwidth) {
$4.lineno = 1183, vip_$1.__LZcheckwidthFunction(this)
};
if (this.onx.ready) {
$4.lineno = 1184, this.onx.sendEvent(this.x)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_x";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1156;
return $lzsc$temp
})(), "y", 0, "__set_y_memo", void 0, "$lzc$set_y", (function () {
var $lzsc$temp = function (v_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["v", v_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 1211;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.y = v_$0;
if (this.__set_y_memo === v_$0) {
if (this.ony.ready) {
$4.lineno = 1217, this.ony.sendEvent(this.y)
};
return
};
this.__set_y_memo = v_$0;
this.__mousecache = null;
if (this.__LZhasoffset) {
if (this.capabilities.rotation) {
v_$0 -= this.xoffset * this.__LZrsin + this.yoffset * this.__LZrcos
} else {
v_$0 -= this.yoffset
}};
if (this.pixellock) v_$0 = ($4.lineno = 1235, Math.floor(v_$0));
$4.lineno = 1236, this.sprite.setY(v_$0);
var vip_$1 = this.immediateparent;
if (vip_$1.__LZcheckheight) {
$4.lineno = 1238, vip_$1.__LZcheckheightFunction(this)
};
if (this.ony.ready) {
$4.lineno = 1239, this.ony.sendEvent(this.y)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_y";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1211;
return $lzsc$temp
})(), "rotation", 0, "$lzc$set_rotation", (function () {
var $lzsc$temp = function (v_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["v", v_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/views/LaszloView.lzs";
$5.lineno = 1252;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (this.capabilities.rotation) {
$5.lineno = 1254, this.sprite.setRotation(v_$0)
} else {
$5.lineno = 1256, LzView.__warnCapability("view.rotation", "rotation")
};
this.rotation = v_$0;
this.usegetbounds = this.__LZhasoffset || this.rotation != 0;
var rrad_$1 = Math.PI / 180 * this.rotation;
this.__LZrsin = ($5.lineno = 1261, Math.sin(rrad_$1));
this.__LZrcos = ($5.lineno = 1262, Math.cos(rrad_$1));
if (this.onrotation.ready) $5.lineno = 1263, this.onrotation.sendEvent(v_$0);
if (this.__LZhasoffset) {
this.__set_x_memo = void 0;
$5.lineno = 1268, this.$lzc$set_x(this.x);
this.__set_y_memo = void 0;
$5.lineno = 1271, this.$lzc$set_y(this.y)
};
var vip_$2 = this.immediateparent;
if (vip_$2.__LZcheckwidth) $5.lineno = 1276, vip_$2.__LZcheckwidthFunction(this);
if (vip_$2.__LZcheckheight) $5.lineno = 1278, vip_$2.__LZcheckheightFunction(this)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_rotation";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1252;
return $lzsc$temp
})(), "width", 0, "__set_width_memo", void 0, "$lzc$set_width", (function () {
var $lzsc$temp = function (v_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["v", v_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/views/LaszloView.lzs";
$5.lineno = 1308;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (v_$0 != null) {
this.hassetwidth = true;
this.width = v_$0
} else {
this.hassetwidth = false
};
if (this.__set_width_memo === v_$0) {
if (this.onwidth.ready) {
$5.lineno = 1319, this.onwidth.sendEvent(this.width)
};
return
};
this.__set_width_memo = v_$0;
if (v_$0 == null) {
this.__LZcheckwidth = true;
if (this._setrescwidth) {
this.unstretchedwidth = null;
this._xscale = 1
};
$5.lineno = 1341, this.reevaluateSize("width");
return
};
if (this.pixellock) {
v_$0 = ($5.lineno = 1345, Math.floor(v_$0))
};
if (this._setrescwidth) {
var xscale_$1 = this.unstretchedwidth == 0 ? 100 : v_$0 / this.unstretchedwidth;
this._xscale = xscale_$1
} else {
this.__LZcheckwidth = false
};
$5.lineno = 1352, this.sprite.setWidth(v_$0);
var vip_$2 = this.immediateparent;
if (vip_$2 && vip_$2.__LZcheckwidth) {
$5.lineno = 1355, vip_$2.__LZcheckwidthFunction(this)
};
if (this.onwidth.ready) {
$5.lineno = 1357, this.onwidth.sendEvent(this.width)
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_width";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1308;
return $lzsc$temp
})(), "height", 0, "__set_height_memo", void 0, "$lzc$set_height", (function () {
var $lzsc$temp = function (v_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["v", v_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 1387;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (v_$0 != null) {
this.hassetheight = true;
this.height = v_$0
} else {
this.hassetheight = false
};
if (this.__set_height_memo === v_$0) {
if (this.onheight.ready) {
$4.lineno = 1398, this.onheight.sendEvent(this.height)
};
return
};
this.__set_height_memo = v_$0;
if (v_$0 == null) {
this.__LZcheckheight = true;
if (this._setrescheight) {
this.unstretchedheight = null;
this._yscale = 1
};
$4.lineno = 1420, this.reevaluateSize("height");
return
};
if (this.pixellock) {
v_$0 = ($4.lineno = 1424, Math.floor(v_$0))
};
if (this._setrescheight) {
this._yscale = this.unstretchedheight == 0 ? 100 : v_$0 / this.unstretchedheight
} else {
this.__LZcheckheight = false
};
$4.lineno = 1430, this.sprite.setHeight(v_$0);
var vip_$1 = this.immediateparent;
if (vip_$1 && vip_$1.__LZcheckheight) {
$4.lineno = 1433, vip_$1.__LZcheckheightFunction(this)
};
if (this.onheight.ready) {
$4.lineno = 1435, this.onheight.sendEvent(this.height)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_height";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1387;
return $lzsc$temp
})(), "unstretchedwidth", 0, "unstretchedheight", 0, "subviews", [], "xoffset", 0, "$lzc$set_xoffset", (function () {
var $lzsc$temp = function (o_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["o", o_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1475;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.xoffset = o_$0;
this.__LZhasoffset = this.xoffset != 0 || this.yoffset != 0 || this.__widthoffset != 0 || this.__heightoffset != 0;
this.usegetbounds = this.__LZhasoffset || this.rotation != 0;
this.__set_x_memo = void 0;
$3.lineno = 1481, this.$lzc$set_x(this.x);
this.__set_y_memo = void 0;
$3.lineno = 1484, this.$lzc$set_y(this.y);
if (this.onxoffset.ready) $3.lineno = 1485, this.onxoffset.sendEvent(o_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_xoffset";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1475;
return $lzsc$temp
})(), "yoffset", 0, "$lzc$set_yoffset", (function () {
var $lzsc$temp = function (o_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["o", o_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1502;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.yoffset = o_$0;
this.__LZhasoffset = this.xoffset != 0 || this.yoffset != 0 || this.__widthoffset != 0 || this.__heightoffset != 0;
this.usegetbounds = this.__LZhasoffset || this.rotation != 0;
this.__set_x_memo = void 0;
$3.lineno = 1508, this.$lzc$set_x(this.x);
this.__set_y_memo = void 0;
$3.lineno = 1511, this.$lzc$set_y(this.y);
if (this.onyoffset.ready) $3.lineno = 1512, this.onyoffset.sendEvent(o_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_yoffset";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1502;
return $lzsc$temp
})(), "__LZrsin", 0, "__LZrcos", 1, "_xscale", 1, "_yscale", 1, "totalframes", 1, "frame", 1, "$lzc$set_frame", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1547;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.frame = n_$0;
$3.lineno = 1550, this.stop(n_$0);
if (this.onframe.ready) $3.lineno = 1551, this.onframe.sendEvent(n_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_frame";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1547;
return $lzsc$temp
})(), "framesloadratio", 0, "loadratio", 0, "hassetheight", false, "hassetwidth", false, "addedToParent", null, "masked", false, "pixellock", null, "clickable", false, "$lzc$set_clickable", (function () {
var $lzsc$temp = function (amclickable_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["amclickable", amclickable_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1611;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1612, this.sprite.setClickable(amclickable_$0);
this.clickable = amclickable_$0;
if (this.onclickable.ready) $3.lineno = 1614, this.onclickable.sendEvent(amclickable_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_clickable";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1611;
return $lzsc$temp
})(), "showhandcursor", null, "$lzc$set_showhandcursor", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1626;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.showhandcursor = s_$0;
$3.lineno = 1628, this.sprite.setShowHandCursor(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_showhandcursor";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1626;
return $lzsc$temp
})(), "resource", null, "$lzc$set_resource", (function () {
var $lzsc$temp = function (resourceName_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["resourceName", resourceName_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1644;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (resourceName_$0 == null || resourceName_$0 == this._resource) return;
this.resource = this._resource = resourceName_$0;
$3.lineno = 1647, this.sprite.setResource(resourceName_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_resource";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1644;
return $lzsc$temp
})(), "resourcewidth", 0, "resourceheight", 0, "__LZcheckwidth", true, "__LZcheckheight", true, "__LZhasoffset", null, "__LZoutlieheight", null, "__LZoutliewidth", null, "setLayout", (function () {
var $lzsc$temp = function (layoutobj_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["layoutobj", layoutobj_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1686;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1687, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1688, this.$lzc$set_layout(layoutobj_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setLayout";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1686;
return $lzsc$temp
})(), "setFontName", (function () {
var $lzsc$temp = function (val_$0, prop_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["val", val_$0, "prop", prop_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 1698;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
prop_$1 = null
};
$4.lineno = 1699, Debug.deprecated(this, arguments.callee, this.setAttribute);
$4.lineno = 1700, this.$lzc$set_font(val_$0)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setFontName";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1698;
return $lzsc$temp
})(), "_setrescwidth", false, "_setrescheight", false, "searchSubviews", (function () {
var $lzsc$temp = function (prop_$0, val_$1) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["prop", prop_$0, "val", val_$1];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/views/LaszloView.lzs";
$a.lineno = 1729;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
var nextS_$2 = ($a.lineno = 1730, this.subviews.concat());
while (nextS_$2.length > 0) {
var s_$3 = nextS_$2;
nextS_$2 = ($a.lineno = 1734, new Array());
for (var i_$4 = s_$3.length - 1;i_$4 >= 0;i_$4--) {
var si_$5 = s_$3[i_$4];
if (si_$5[prop_$0] == val_$1) {
return si_$5
};
var sis_$6 = si_$5.subviews;
for (var j_$7 = sis_$6.length - 1;j_$7 >= 0;j_$7--) {
$a.lineno = 1742, nextS_$2.push(sis_$6[j_$7])
}}};
return null
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "searchSubviews";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1729;
return $lzsc$temp
})(), "layouts", null, "releaseLayouts", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1763;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1764, Debug.deprecated(this, arguments.callee, this.setAttribute);
if (this.layouts) {
for (var i_$0 = this.layouts.length - 1;i_$0 >= 0;i_$0--) {
$3.lineno = 1767, this.layouts[i_$0].releaseLayout()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "releaseLayouts";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1763;
return $lzsc$temp
})(), "_resource", null, "setResource", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1786;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1787, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1788, this.$lzc$set_resource(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setResource";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1786;
return $lzsc$temp
})(), "resourceload", (function () {
var $lzsc$temp = function (i_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["i", i_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1797;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if ("resource" in i_$0) {
this.resource = i_$0.resource;
if (this.onresource.ready) $3.lineno = 1800, this.onresource.sendEvent(i_$0.resource)
};
if (this.resourcewidth != i_$0.width) {
if ("width" in i_$0) {
this.resourcewidth = i_$0.width;
if (this.onresourcewidth.ready) $3.lineno = 1806, this.onresourcewidth.sendEvent(i_$0.width)
};
if (!this.hassetwidth && this.resourcewidth != this.width || this._setrescwidth && this.unstretchedwidth != this.resourcewidth) {
$3.lineno = 1813, this.updateWidth(this.resourcewidth)
}};
if (this.resourceheight != i_$0.height) {
if ("height" in i_$0) {
this.resourceheight = i_$0.height;
if (this.onresourceheight.ready) $3.lineno = 1820, this.onresourceheight.sendEvent(i_$0.height)
};
if (!this.hassetheight && this.resourceheight != this.height || this._setrescheight && this.unstretchedheight != this.resourceheight) {
$3.lineno = 1825, this.updateHeight(this.resourceheight)
}};
if (i_$0.skiponload != true) {
if (this.onload.ready) $3.lineno = 1830, this.onload.sendEvent(this)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "resourceload";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1797;
return $lzsc$temp
})(), "resourceloaderror", (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1838;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
e_$0 = null
};
this.resourcewidth = 0;
this.resourceheight = 0;
if (this.onresourcewidth.ready) $3.lineno = 1841, this.onresourcewidth.sendEvent(0);
if (this.onresourceheight.ready) $3.lineno = 1842, this.onresourceheight.sendEvent(0);
$3.lineno = 1843, this.reevaluateSize();
if (this.onerror.ready) $3.lineno = 1844, this.onerror.sendEvent(e_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "resourceloaderror";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1838;
return $lzsc$temp
})(), "resourceloadtimeout", (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1851;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
e_$0 = null
};
this.resourcewidth = 0;
this.resourceheight = 0;
if (this.onresourcewidth.ready) $3.lineno = 1854, this.onresourcewidth.sendEvent(0);
if (this.onresourceheight.ready) $3.lineno = 1855, this.onresourceheight.sendEvent(0);
$3.lineno = 1856, this.reevaluateSize();
if (this.ontimeout.ready) $3.lineno = 1857, this.ontimeout.sendEvent(e_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "resourceloadtimeout";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1851;
return $lzsc$temp
})(), "resourceevent", (function () {
var $lzsc$temp = function (name_$0, value_$1, eventonly_$2, force_$3) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["name", name_$0, "value", value_$1, "eventonly", eventonly_$2, "force", force_$3];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/views/LaszloView.lzs";
$8.lineno = 1864;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
switch (arguments.length) {
case 2:
eventonly_$2 = false;;case 3:
force_$3 = false
};
var sendevent_$4 = force_$3 == true || eventonly_$2 == true || this[name_$0] != value_$1;
if (eventonly_$2 != true) this[name_$0] = value_$1;
if (sendevent_$4) {
var ev_$5 = this["on" + name_$0];
if (ev_$5.ready) $8.lineno = 1870, ev_$5.sendEvent(value_$1)
}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "resourceevent";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1864;
return $lzsc$temp
})(), "destroy", (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LaszloView.lzs";
$6.lineno = 1879;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (this.__LZdeleted) return;
var vip_$0 = this.immediateparent;
var parentvalid_$1 = vip_$0 && !vip_$0.__LZdeleted;
if (parentvalid_$1) {
if (this.sprite) $6.lineno = 1885, this.sprite.predestroy();
if (this.addedToParent) {
var svs_$2 = vip_$0.subviews;
if (svs_$2 != null) {
for (var i_$3 = svs_$2.length - 1;i_$3 >= 0;i_$3--) {
if (svs_$2[i_$3] == this) {
$6.lineno = 1892, svs_$2.splice(i_$3, 1);
break
}}}}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["destroy"] || ($6.lineno = 1900, this.nextMethod(arguments.callee, "destroy"))).call(this);
if (this.sprite) {
$6.lineno = 1903, this.sprite.destroy(parentvalid_$1)
};
if (parentvalid_$1) {
$6.lineno = 1906, this.$lzc$set_visible(false);
if (this.addedToParent) {
if (vip_$0["__LZoutliewidth"] == this) {
vip_$0.__LZoutliewidth = null
};
if (vip_$0["__LZoutlieheight"] == this) {
vip_$0.__LZoutlieheight = null
};
if (vip_$0.onremovesubview.ready) $6.lineno = 1917, vip_$0.onremovesubview.sendEvent(this)
}}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1879;
return $lzsc$temp
})(), "setVisible", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1931;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1932, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1933, this.$lzc$set_visible(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setVisible";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1931;
return $lzsc$temp
})(), "setVisibility", (function () {
var $lzsc$temp = function (amVisible_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["amVisible", amVisible_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1948;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1949, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1950, this.$lzc$set_visibility(amVisible_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setVisibility";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1948;
return $lzsc$temp
})(), "__LZupdateShown", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 1957;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.visibility == "collapse") {
var shown_$0 = this.__LZvizO && this.__LZvizDat && this.__LZvizLoad
} else {
var shown_$0 = this.visibility == "visible"
};
if (shown_$0 != this.visible) {
this.visible = shown_$0;
if (this.sprite) {
$4.lineno = 1969, this.sprite.setVisible(shown_$0)
};
var vip_$1 = this.immediateparent;
if (vip_$1 && vip_$1.__LZcheckwidth) $4.lineno = 1974, vip_$1.__LZcheckwidthFunction(this);
if (vip_$1 && vip_$1.__LZcheckheight) $4.lineno = 1976, vip_$1.__LZcheckheightFunction(this);
if (this.onvisible.ready) $4.lineno = 1978, this.onvisible.sendEvent(shown_$0)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZupdateShown";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1957;
return $lzsc$temp
})(), "setWidth", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 1990;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1991, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1992, this.$lzc$set_width(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setWidth";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 1990;
return $lzsc$temp
})(), "setHeight", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2003;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2004, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2005, this.$lzc$set_height(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setHeight";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2003;
return $lzsc$temp
})(), "setOpacity", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2014;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2015, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2016, this.$lzc$set_opacity(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setOpacity";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2014;
return $lzsc$temp
})(), "setX", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2024;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2025, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2026, this.$lzc$set_x(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setX";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2024;
return $lzsc$temp
})(), "setY", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2034;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2035, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2036, this.$lzc$set_y(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setY";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2034;
return $lzsc$temp
})(), "setRotation", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2044;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2045, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2046, this.$lzc$set_rotation(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setRotation";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2044;
return $lzsc$temp
})(), "setAlign", (function () {
var $lzsc$temp = function (align_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["align", align_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2061;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2062, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2063, this.$lzc$set_align(align_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setAlign";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2061;
return $lzsc$temp
})(), "__LZalignCenter", (function () {
var $lzsc$temp = function (e_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["e", e_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 2067;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
e_$0 = null
};
var vip_$1 = this.immediateparent;
$4.lineno = 2069, this.$lzc$set_x(vip_$1.width / 2 - this.width / 2)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZalignCenter";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2067;
return $lzsc$temp
})(), "__LZalignRight", (function () {
var $lzsc$temp = function (e_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["e", e_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 2073;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
e_$0 = null
};
var vip_$1 = this.immediateparent;
$4.lineno = 2075, this.$lzc$set_x(vip_$1.width - this.width)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZalignRight";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2073;
return $lzsc$temp
})(), "setXOffset", (function () {
var $lzsc$temp = function (o_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["o", o_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2084;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2085, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2086, this.$lzc$set_xoffset(o_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setXOffset";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2084;
return $lzsc$temp
})(), "setYOffset", (function () {
var $lzsc$temp = function (o_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["o", o_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2094;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2095, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2096, this.$lzc$set_yoffset(o_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setYOffset";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2094;
return $lzsc$temp
})(), "getBounds", (function () {
var $lzsc$temp = function () {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = [];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/views/LaszloView.lzs";
$b.lineno = 2120;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
var width_$0 = this.width + this.__widthoffset;
var height_$1 = this.height + this.__heightoffset;
var mtrix_$2 = [-this.xoffset, -this.yoffset, width_$0 - this.xoffset, -this.yoffset, -this.xoffset, height_$1 - this.yoffset, width_$0 - this.xoffset, height_$1 - this.yoffset, this.rotation, this.x, this.y];
if (this.__LZstoredbounds) {
var i_$3 = mtrix_$2.length - 1;
while (mtrix_$2[i_$3] == LzView.__LZlastmtrix[i_$3]) {
if (i_$3-- == 0) {
return this.__LZstoredbounds
}}};
var o_$4 = {};
for (var i_$3 = 0;i_$3 < 8;i_$3 += 2) {
var x_$5 = mtrix_$2[i_$3];
var y_$6 = mtrix_$2[i_$3 + 1];
var cx_$7 = x_$5 * this.__LZrcos - y_$6 * this.__LZrsin;
var cy_$8 = x_$5 * this.__LZrsin + y_$6 * this.__LZrcos;
if (o_$4.xoffset == null || o_$4.xoffset > cx_$7) {
o_$4.xoffset = cx_$7
};
if (o_$4.yoffset == null || o_$4.yoffset > cy_$8) {
o_$4.yoffset = cy_$8
};
if (o_$4.width == null || o_$4.width < cx_$7) {
o_$4.width = cx_$7
};
if (o_$4.height == null || o_$4.height < cy_$8) {
o_$4.height = cy_$8
}};
o_$4.width -= o_$4.xoffset;
o_$4.height -= o_$4.yoffset;
o_$4.x = this.x + o_$4.xoffset;
o_$4.y = this.y + o_$4.yoffset;
this.__LZstoredbounds = o_$4;
LzView.__LZlastmtrix = mtrix_$2;
return o_$4
}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "getBounds";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2120;
return $lzsc$temp
})(), "$lzc$getBounds_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["who", who_$0, "self", self_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 2175;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return [self_$1, "rotation", self_$1, "x", self_$1, "y", self_$1, "width", self_$1, "height"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getBounds_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2175;
return $lzsc$temp
})(), "setValign", (function () {
var $lzsc$temp = function (valign_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["valign", valign_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2193;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2194, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2195, this.$lzc$set_valign(valign_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setValign";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2193;
return $lzsc$temp
})(), "__LZvalignMiddle", (function () {
var $lzsc$temp = function (e_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["e", e_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 2199;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
e_$0 = null
};
var vip_$1 = this.immediateparent;
$4.lineno = 2201, this.$lzc$set_y(vip_$1.height / 2 - this.height / 2)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZvalignMiddle";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2199;
return $lzsc$temp
})(), "__LZvalignBottom", (function () {
var $lzsc$temp = function (e_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["e", e_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 2205;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
e_$0 = null
};
var vip_$1 = this.immediateparent;
$4.lineno = 2207, this.$lzc$set_y(vip_$1.height - this.height)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZvalignBottom";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2205;
return $lzsc$temp
})(), "setColor", (function () {
var $lzsc$temp = function (c_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["c", c_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2218;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2219, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2220, this.$lzc$set_fgcolor(c_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setColor";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2218;
return $lzsc$temp
})(), "getColor", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 2228;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 2229, this.sprite.getColor()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getColor";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2228;
return $lzsc$temp
})(), "setColorTransform", (function () {
var $lzsc$temp = function (o_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["o", o_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 2250;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.capabilities.colortransform) {
$4.lineno = 2252, this.sprite.setColorTransform(o_$0);
var rgbcolor_$1 = "rgba(" + o_$0.rb + "," + o_$0.gb + "," + o_$0.bb + "," + o_$0.ab / 255 + ")";
this.tintcolor = ($4.lineno = 2255, LzColorUtils.inttohex(($4.lineno = 2255, LzColorUtils.fromrgb(rgbcolor_$1))));
if (this.ontintcolor.ready) $4.lineno = 2257, this.ontintcolor.sendEvent(this.tintcolor)
} else {
$4.lineno = 2259, LzView.__warnCapability("view.setColorTransform()", "colortransform")
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setColorTransform";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2250;
return $lzsc$temp
})(), "getColorTransform", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 2279;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.colortransform) {
return $2.lineno = 2281, this.sprite.getColorTransform()
} else {
$2.lineno = 2283, LzView.__warnCapability("view.getColorTransform()", "colortransform")
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getColorTransform";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2279;
return $lzsc$temp
})(), "__LZcheckSize", (function () {
var $lzsc$temp = function (sview_$0, axis_$1, xory_$2) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["sview", sview_$0, "axis", axis_$1, "xory", xory_$2];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/views/LaszloView.lzs";
$8.lineno = 2293;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
if (sview_$0.addedToParent) {
if (sview_$0.usegetbounds) {
var bobj_$3 = ($8.lineno = 2297, sview_$0.getBounds())
} else {
var bobj_$3 = sview_$0
};
var ss_$4 = bobj_$3[xory_$2] + bobj_$3[axis_$1];
var ts_$5 = this["_setresc" + axis_$1] ? this["unstretched" + axis_$1] : this[axis_$1];
if (ss_$4 > ts_$5 && sview_$0.visible) {
this["__LZoutlie" + axis_$1] = sview_$0;
if (axis_$1 == "width") {
$8.lineno = 2310, this.updateWidth(ss_$4)
} else $8.lineno = 2312, this.updateHeight(ss_$4)
} else if (this["__LZoutlie" + axis_$1] == sview_$0 && (ss_$4 < ts_$5 || !sview_$0.visible)) {
$8.lineno = 2316, this.reevaluateSize(axis_$1)
}}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "__LZcheckSize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2293;
return $lzsc$temp
})(), "__LZcheckwidthFunction", (function () {
var $lzsc$temp = function (sview_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sview", sview_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2337;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2338, this.__LZcheckSize(sview_$0, "width", "x")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZcheckwidthFunction";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2337;
return $lzsc$temp
})(), "__LZcheckheightFunction", (function () {
var $lzsc$temp = function (sview_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sview", sview_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2342;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2343, this.__LZcheckSize(sview_$0, "height", "y")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZcheckheightFunction";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2342;
return $lzsc$temp
})(), "measureSize", (function () {
var $lzsc$temp = function (axis_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["axis", axis_$0];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/views/LaszloView.lzs";
$8.lineno = 2361;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var w_$1 = this["resource" + axis_$0];
for (var i_$2 = this.subviews.length - 1;i_$2 >= 0;i_$2--) {
var sview_$3 = this.subviews[i_$2];
if (sview_$3.visible) {
if (sview_$3.usegetbounds) {
var bobj_$4 = ($8.lineno = 2368, sview_$3.getBounds())
} else {
var bobj_$4 = sview_$3
};
var svs_$5 = bobj_$4[axis_$0 == "width" ? "x" : "y"] + bobj_$4[axis_$0];
if (svs_$5 > w_$1) {
w_$1 = svs_$5
}}};
return w_$1
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "measureSize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2361;
return $lzsc$temp
})(), "measureWidth", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 2388;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 2389, this.measureSize("width")
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "measureWidth";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2388;
return $lzsc$temp
})(), "measureHeight", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 2399;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 2400, this.measureSize("height")
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "measureHeight";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2399;
return $lzsc$temp
})(), "updateSize", (function () {
var $lzsc$temp = function (axis_$0, newsize_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["axis", axis_$0, "newsize", newsize_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 2404;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (axis_$0 == "width") {
$4.lineno = 2406, this.updateWidth(newsize_$1)
} else $4.lineno = 2408, this.updateHeight(newsize_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "updateSize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2404;
return $lzsc$temp
})(), "updateWidth", (function () {
var $lzsc$temp = function (newsize_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["newsize", newsize_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/views/LaszloView.lzs";
$5.lineno = 2412;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (this._setrescwidth) {
this.unstretchedwidth = newsize_$0;
if (this.hassetwidth) {
var scale_$1 = this.width / newsize_$0;
this._xscale = scale_$1
};
if (this.onunstretchedwidth.ready) $5.lineno = 2421, this.onunstretchedwidth.sendEvent(newsize_$0)
};
if (!this.hassetwidth) {
this.width = newsize_$0;
$5.lineno = 2426, this.sprite.setWidth(newsize_$0);
if (this.onwidth.ready) $5.lineno = 2427, this.onwidth.sendEvent(newsize_$0);
var vip_$2 = this.immediateparent;
if (vip_$2.__LZcheckwidth) $5.lineno = 2431, vip_$2.__LZcheckwidthFunction(this)
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "updateWidth";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2412;
return $lzsc$temp
})(), "updateHeight", (function () {
var $lzsc$temp = function (newsize_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["newsize", newsize_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/views/LaszloView.lzs";
$5.lineno = 2437;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (this._setrescheight) {
this.unstretchedheight = newsize_$0;
if (this.hassetheight) {
var scale_$1 = this.height / newsize_$0;
this._yscale = scale_$1
};
if (this.onunstretchedheight) if (this.onunstretchedheight.ready) $5.lineno = 2447, this.onunstretchedheight.sendEvent(newsize_$0)
};
if (!this.hassetheight) {
this.height = newsize_$0;
$5.lineno = 2452, this.sprite.setHeight(newsize_$0);
if (this.onheight.ready) $5.lineno = 2453, this.onheight.sendEvent(newsize_$0);
var vip_$2 = this.immediateparent;
if (vip_$2.__LZcheckheight) $5.lineno = 2457, vip_$2.__LZcheckheightFunction(this)
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "updateHeight";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2437;
return $lzsc$temp
})(), "reevaluateSize", (function () {
var $lzsc$temp = function (ia_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["ia", ia_$0];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/views/LaszloView.lzs";
$a.lineno = 2463;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
switch (arguments.length) {
case 0:
ia_$0 = null
};
if (ia_$0 == null) {
var axis_$1 = "height";
$a.lineno = 2467, this.reevaluateSize("width")
} else {
var axis_$1 = ia_$0
};
if (this["hasset" + axis_$1] && !this["_setresc" + axis_$1]) return;
var o_$2 = this["_setresc" + axis_$1] ? this["unstretched" + axis_$1] : this[axis_$1];
var w_$3 = this["resource" + axis_$1] || 0;
this["__LZoutlie" + axis_$1] = this;
for (var i_$4 = this.subviews.length - 1;i_$4 >= 0;i_$4--) {
var sv_$5 = this.subviews[i_$4];
if (sv_$5.usegetbounds) {
var b_$6 = ($a.lineno = 2486, sv_$5.getBounds());
var svs_$7 = b_$6[axis_$1 == "width" ? "x" : "y"] + b_$6[axis_$1]
} else {
var svs_$7 = sv_$5[axis_$1 == "width" ? "x" : "y"] + sv_$5[axis_$1]
};
if (sv_$5.visible && svs_$7 > w_$3) {
w_$3 = svs_$7;
this["__LZoutlie" + axis_$1] = sv_$5
}};
if (o_$2 != w_$3) {
if (axis_$1 == "width") {
$a.lineno = 2499, this.updateWidth(w_$3)
} else $a.lineno = 2501, this.updateHeight(w_$3)
}}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "reevaluateSize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2463;
return $lzsc$temp
})(), "updateResourceSize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 2510;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 2511, this.sprite.updateResourceSize();
$2.lineno = 2512, this.reevaluateSize()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "updateResourceSize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2510;
return $lzsc$temp
})(), "setAttributeRelative", (function () {
var $lzsc$temp = function (prop_$0, refView_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["prop", prop_$0, "refView", refView_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/views/LaszloView.lzs";
$7.lineno = 2524;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var tLink_$2 = ($7.lineno = 2525, this.getLinkage(refView_$1));
var val_$3 = refView_$1[prop_$0];
if (prop_$0 == "x" || prop_$0 == "y") {
$7.lineno = 2529, tLink_$2.update(prop_$0);
{
var $lzsc$1347952369 = (val_$3 - tLink_$2.offset[prop_$0]) / tLink_$2.scale[prop_$0];
if (!this.__LZdeleted) {
var $lzsc$387211092 = "$lzc$set_" + prop_$0;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this[$lzsc$387211092]) : this[$lzsc$387211092] instanceof Function) {
this[$lzsc$387211092]($lzsc$1347952369)
} else {
this[prop_$0] = $lzsc$1347952369;
var $lzsc$1476620751 = this["on" + prop_$0];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$1476620751) : $lzsc$1476620751 instanceof LzEvent) {
if ($lzsc$1476620751.ready) {
$lzsc$1476620751.sendEvent($lzsc$1347952369)
}}}}}} else if (prop_$0 == "width" || prop_$0 == "height") {
var axis_$4 = prop_$0 == "width" ? "x" : "y";
$7.lineno = 2535, tLink_$2.update(axis_$4);
{
var $lzsc$251516544 = val_$3 / tLink_$2.scale[axis_$4];
if (!this.__LZdeleted) {
var $lzsc$2083189516 = "$lzc$set_" + prop_$0;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this[$lzsc$2083189516]) : this[$lzsc$2083189516] instanceof Function) {
this[$lzsc$2083189516]($lzsc$251516544)
} else {
this[prop_$0] = $lzsc$251516544;
var $lzsc$1608138284 = this["on" + prop_$0];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$1608138284) : $lzsc$1608138284 instanceof LzEvent) {
if ($lzsc$1608138284.ready) {
$lzsc$1608138284.sendEvent($lzsc$251516544)
}}}}}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "setAttributeRelative";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2524;
return $lzsc$temp
})(), "$lzc$setAttributeRelative_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1, prop_$2, refView_$3) {
var $b = Debug;
var $c = $b.backtraceStack;
try {
if ($c) {
var $d = ["who", who_$0, "self", self_$1, "prop", prop_$2, "refView", refView_$3];
$d.callee = arguments.callee;
$d["this"] = this;
$d.filename = "lfc/views/LaszloView.lzs";
$d.lineno = 2549;
$c.push($d);
if ($c.length > $c.maxDepth) {
$b.stackOverflow()
}};
var tLink_$4 = ($d.lineno = 2551, who_$0.getLinkage(refView_$3));
var pass_$5 = 2;
var d_$6 = [];
if (prop_$2 == "width") {
var ax_$7 = "x"
} else if (prop_$2 == "height") {
var ax_$7 = "y"
} else {
var ax_$7 = prop_$2
};
var sax_$8 = ax_$7 == "x" ? "width" : "height";
while (pass_$5) {
if (pass_$5 == 2) {
var carr_$9 = tLink_$4.uplinkArray
} else {
var carr_$9 = tLink_$4.downlinkArray
};
pass_$5--;
for (var i_$a = carr_$9.length - 1;i_$a >= 0;i_$a--) {
$d.lineno = 2573, d_$6.push(carr_$9[i_$a], ax_$7);
if (d_$6["_setresc" + sax_$8]) {
$d.lineno = 2576, d_$6.push([carr_$9[i_$a], sax_$8])
}}};
return d_$6
}
finally {
if ($c) {
$c.length--
}}};
$lzsc$temp["displayName"] = "$lzc$setAttributeRelative_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2549;
return $lzsc$temp
})(), "getAttributeRelative", (function () {
var $lzsc$temp = function (prop_$0, refView_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["prop", prop_$0, "refView", refView_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LaszloView.lzs";
$6.lineno = 2599;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var tLink_$2 = ($6.lineno = 2600, this.getLinkage(refView_$1));
if (prop_$0 == "x" || prop_$0 == "y") {
$6.lineno = 2603, tLink_$2.update(prop_$0);
return tLink_$2.offset[prop_$0] + tLink_$2.scale[prop_$0] * this[prop_$0]
} else if (prop_$0 == "width" || prop_$0 == "height") {
var axis_$3 = prop_$0 == "width" ? "x" : "y";
$6.lineno = 2607, tLink_$2.update(axis_$3);
return tLink_$2.scale[axis_$3] * this[prop_$0]
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "getAttributeRelative";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2599;
return $lzsc$temp
})(), "$lzc$getAttributeRelative_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1, prop_$2, refView_$3) {
var $c = Debug;
var $d = $c.backtraceStack;
try {
if ($d) {
var $e = ["who", who_$0, "self", self_$1, "prop", prop_$2, "refView", refView_$3];
$e.callee = arguments.callee;
$e["this"] = this;
$e.filename = "lfc/views/LaszloView.lzs";
$e.lineno = 2615;
$d.push($e);
if ($d.length > $d.maxDepth) {
$c.stackOverflow()
}};
var tLink_$4 = ($e.lineno = 2617, self_$1.getLinkage(refView_$3));
var pass_$5 = 2;
var d_$6 = [self_$1, prop_$2];
if (prop_$2 == "width") {
var ax_$7 = "x"
} else if (prop_$2 == "height") {
var ax_$7 = "y"
} else {
var ax_$7 = prop_$2
};
var sax_$8 = ax_$7 == "x" ? "width" : "height";
while (pass_$5) {
if (pass_$5 == 2) {
var carr_$9 = tLink_$4.uplinkArray
} else {
var carr_$9 = tLink_$4.downlinkArray
};
pass_$5--;
for (var i_$a = carr_$9.length - 1;i_$a >= 0;i_$a--) {
var ci_$b = carr_$9[i_$a];
$e.lineno = 2640, d_$6.push(ci_$b, ax_$7);
if (ci_$b["_setresc" + sax_$8]) {
$e.lineno = 2643, d_$6.push(ci_$b, sax_$8)
}}};
return d_$6
}
finally {
if ($d) {
$d.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getAttributeRelative_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2615;
return $lzsc$temp
})(), "__LZviewLinks", null, "getLinkage", (function () {
var $lzsc$temp = function (refView_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["refView", refView_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 2665;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.__LZviewLinks == null) {
this.__LZviewLinks = ($4.lineno = 2667, new Object())
};
var uid_$1 = ($4.lineno = 2670, refView_$0.getUID());
if (this.__LZviewLinks[uid_$1] == null) {
this.__LZviewLinks[uid_$1] = ($4.lineno = 2673, new LzViewLinkage(this, refView_$0))
};
return this.__LZviewLinks[uid_$1]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "getLinkage";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2665;
return $lzsc$temp
})(), "mouseevent", (function () {
var $lzsc$temp = function (eventname_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["eventname", eventname_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2684;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this[eventname_$0] && this[eventname_$0].ready) $3.lineno = 2685, this[eventname_$0].sendEvent(this)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "mouseevent";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2684;
return $lzsc$temp
})(), "getMouse", (function () {
var $lzsc$temp = function (xory_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["xory", xory_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2698;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
xory_$0 = null
};
if (this.__mousecache == null || this.__movecounter !== lz.GlobalMouse.__movecounter) {
this.__movecounter = lz.GlobalMouse.__movecounter;
this.__mousecache = ($3.lineno = 2701, this.sprite.getMouse())
};
if (xory_$0 == null) return this.__mousecache;
return this.__mousecache[xory_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getMouse";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2698;
return $lzsc$temp
})(), "$lzc$getMouse_dependencies", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2708;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var ignore_$0 = ($3.lineno = 2708, Array.prototype.slice.call(arguments, 0));
return [lz.Idle, "idle"]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getMouse_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2708;
return $lzsc$temp
})(), "containsPt", (function () {
var $lzsc$temp = function (x_$0, y_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["x", x_$0, "y", y_$1];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/views/LaszloView.lzs";
$9.lineno = 2719;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var offsetx_$2 = 0;
var offsety_$3 = 0;
var view_$4 = this;
do {
if (!view_$4.visible) return false;
if (view_$4.masked || view_$4 === this) {
var vx_$5 = x_$0 - offsetx_$2;
var vy_$6 = y_$1 - offsety_$3;
if (vx_$5 < 0 || vx_$5 >= view_$4.width || vy_$6 < 0 || vy_$6 >= view_$4.height) {
return false
}};
offsetx_$2 -= view_$4.x;
offsety_$3 -= view_$4.y;
view_$4 = view_$4.immediateparent
} while (view_$4 !== canvas);
return true
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "containsPt";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2719;
return $lzsc$temp
})(), "bringToFront", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 2754;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.sprite) {
$2.lineno = 2758, Debug.warn("no sprite on ", this);
return
};
$2.lineno = 2762, this.sprite.bringToFront()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "bringToFront";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2754;
return $lzsc$temp
})(), "getDepthList", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2769;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var o_$0 = ($3.lineno = 2770, this.subviews.concat());
$3.lineno = 2771, o_$0.sort(this.__zCompare);
return o_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getDepthList";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2769;
return $lzsc$temp
})(), "__zCompare", (function () {
var $lzsc$temp = function (a_$0, b_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["a", a_$0, "b", b_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LaszloView.lzs";
$6.lineno = 2781;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var az_$2 = ($6.lineno = 2782, a_$0.sprite.getZ());
var bz_$3 = ($6.lineno = 2783, b_$1.sprite.getZ());
if (az_$2 < bz_$3) return -1;
if (az_$2 > bz_$3) return 1;
return 0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "__zCompare";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2781;
return $lzsc$temp
})(), "sendBehind", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2800;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (v_$0 === this) return;
return v_$0 ? ($3.lineno = 2804, this.sprite.sendBehind(v_$0.sprite)) : false
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "sendBehind";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2800;
return $lzsc$temp
})(), "sendInFrontOf", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2816;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (v_$0 === this) return;
return v_$0 ? ($3.lineno = 2820, this.sprite.sendInFrontOf(v_$0.sprite)) : false
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "sendInFrontOf";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2816;
return $lzsc$temp
})(), "sendToBack", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 2826;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 2827, this.sprite.sendToBack()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "sendToBack";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2826;
return $lzsc$temp
})(), "setResourceNumber", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2840;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2841, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2842, this.$lzc$set_frame(n_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setResourceNumber";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2840;
return $lzsc$temp
})(), "stretchResource", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2855;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2856, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2857, this.$lzc$set_stretches(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "stretchResource";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2855;
return $lzsc$temp
})(), "setBGColor", (function () {
var $lzsc$temp = function (bgc_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["bgc", bgc_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2866;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2867, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2868, this.$lzc$set_bgcolor(bgc_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setBGColor";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2866;
return $lzsc$temp
})(), "setSource", (function () {
var $lzsc$temp = function (source_$0, cache_$1, headers_$2, filetype_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["source", source_$0, "cache", cache_$1, "headers", headers_$2, "filetype", filetype_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LaszloView.lzs";
$6.lineno = 2886;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 1:
cache_$1 = null;;case 2:
headers_$2 = null;;case 3:
filetype_$3 = null
};
$6.lineno = 2887, this.sprite.setSource(source_$0, cache_$1, headers_$2, filetype_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "setSource";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2886;
return $lzsc$temp
})(), "unload", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 2893;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this._resource = null;
$2.lineno = 2895, this.sprite.unload()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "unload";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2893;
return $lzsc$temp
})(), "makeMasked", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 2903;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 2904, this.sprite.setClip(true);
this.masked = true;
this.mask = this
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "makeMasked";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2903;
return $lzsc$temp
})(), "removeMask", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 2910;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 2911, this.sprite.setClip(false);
this.masked = false;
this.mask = null
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "removeMask";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2910;
return $lzsc$temp
})(), "setClickable", (function () {
var $lzsc$temp = function (amclickable_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["amclickable", amclickable_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2922;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2923, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2924, this.$lzc$set_clickable(amclickable_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setClickable";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2922;
return $lzsc$temp
})(), "$lzc$set_cursor", (function () {
var $lzsc$temp = function (cursor_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["cursor", cursor_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2929;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2930, this.sprite.setCursor(cursor_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_cursor";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2929;
return $lzsc$temp
})(), "setCursor", (function () {
var $lzsc$temp = function (cursor_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["cursor", cursor_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2939;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
cursor_$0 = null
};
$3.lineno = 2940, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2941, this.$lzc$set_cursor(cursor_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setCursor";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2939;
return $lzsc$temp
})(), "$lzc$set_play", (function () {
var $lzsc$temp = function (b_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["b", b_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2946;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (b_$0) {
$3.lineno = 2948, this.play()
} else {
$3.lineno = 2950, this.stop()
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_play";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2946;
return $lzsc$temp
})(), "setPlay", (function () {
var $lzsc$temp = function (b_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["b", b_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 2959;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 2960, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 2961, this.$lzc$set_play(b_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setPlay";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2959;
return $lzsc$temp
})(), "getMCRef", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 2969;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 2970, Debug.deprecated(this, arguments.callee, this.getDisplayObject);
return $2.lineno = 2971, this.getDisplayObject()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getMCRef";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2969;
return $lzsc$temp
})(), "getDisplayObject", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 2977;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 2978, this.sprite.getDisplayObject()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getDisplayObject";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2977;
return $lzsc$temp
})(), "play", (function () {
var $lzsc$temp = function (f_$0, rel_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["f", f_$0, "rel", rel_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 2992;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
f_$0 = null;;case 1:
rel_$1 = false
};
$4.lineno = 2993, this.sprite.play(f_$0, rel_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "play";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 2992;
return $lzsc$temp
})(), "stop", (function () {
var $lzsc$temp = function (f_$0, rel_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["f", f_$0, "rel", rel_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 3002;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
f_$0 = null;;case 1:
rel_$1 = false
};
$4.lineno = 3003, this.sprite.stop(f_$0, rel_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "stop";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3002;
return $lzsc$temp
})(), "setVolume", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3010;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.audio) {
$3.lineno = 3012, this.sprite.setVolume(v_$0)
} else {
$3.lineno = 3014, LzView.__warnCapability("view.setVolume()", "audio")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setVolume";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3010;
return $lzsc$temp
})(), "getVolume", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 3022;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.audio) {
return $2.lineno = 3024, this.sprite.getVolume()
} else {
$2.lineno = 3026, LzView.__warnCapability("view.getVolume()", "audio")
};
return NaN
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getVolume";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3022;
return $lzsc$temp
})(), "setPan", (function () {
var $lzsc$temp = function (p_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["p", p_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3035;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.audio) {
$3.lineno = 3037, this.sprite.setPan(p_$0)
} else {
$3.lineno = 3039, LzView.__warnCapability("view.setPan()", "audio")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setPan";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3035;
return $lzsc$temp
})(), "getPan", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 3047;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.audio) {
return $2.lineno = 3049, this.sprite.getPan()
} else {
$2.lineno = 3051, LzView.__warnCapability("view.getPan()", "audio")
};
return NaN
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getPan";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3047;
return $lzsc$temp
})(), "getZ", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 3061;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 3062, this.sprite.getZ()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getZ";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3061;
return $lzsc$temp
})(), "seek", (function () {
var $lzsc$temp = function (secs_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["secs", secs_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 3072;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.capabilities.audio) {
if (this.sprite.isaudio) {
$4.lineno = 3075, this.sprite.seek(secs_$0, this.playing);
return
}};
var frames_$1 = secs_$0 * canvas.framerate;
if (this.playing) {
$4.lineno = 3081, this.play(frames_$1, true)
} else {
$4.lineno = 3083, this.stop(frames_$1, true)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "seek";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3072;
return $lzsc$temp
})(), "getCurrentTime", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 3092;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.audio) {
if (this.sprite.isaudio) {
return $2.lineno = 3095, this.sprite.getCurrentTime()
}};
return this.frame / canvas.framerate
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getCurrentTime";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3092;
return $lzsc$temp
})(), "$lzc$getCurrentTime_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["who", who_$0, "self", self_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 3102;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return [self_$1, "frame"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getCurrentTime_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3102;
return $lzsc$temp
})(), "getTotalTime", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 3110;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.audio) {
if (this.sprite.isaudio) {
return $2.lineno = 3113, this.sprite.getTotalTime()
}};
return this.totalframes / canvas.framerate
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getTotalTime";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3110;
return $lzsc$temp
})(), "$lzc$getTotalTime_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["who", who_$0, "self", self_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 3120;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return [self_$1, "load"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getTotalTime_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3120;
return $lzsc$temp
})(), "getID3", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 3129;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.audio) {
if (this.sprite.isaudio) {
return $2.lineno = 3132, this.sprite.getID3()
}} else {
$2.lineno = 3135, LzView.__warnCapability("view.getID3()", "audio")
};
return null
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getID3";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3129;
return $lzsc$temp
})(), "setShowHandCursor", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3147;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 3148, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 3149, this.$lzc$set_showhandcursor(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setShowHandCursor";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3147;
return $lzsc$temp
})(), "setAccessible", (function () {
var $lzsc$temp = function (accessible_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["accessible", accessible_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3155;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.accessibility) {
$3.lineno = 3157, this.sprite.setAccessible(accessible_$0)
} else {
$3.lineno = 3159, LzView.__warnCapability("view.setAccessible()", "accessibility")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setAccessible";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3155;
return $lzsc$temp
})(), "setAAActive", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3168;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 3169, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 3170, this.$lzc$set_aaactive(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setAAActive";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3168;
return $lzsc$temp
})(), "setAAName", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3179;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 3180, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 3181, this.$lzc$set_aaname(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setAAName";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3179;
return $lzsc$temp
})(), "setAADescription", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3190;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 3191, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 3192, this.$lzc$set_aadescription(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setAADescription";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3190;
return $lzsc$temp
})(), "setAATabIndex", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3200;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 3201, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 3202, this.$lzc$set_aatabindex(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setAATabIndex";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3200;
return $lzsc$temp
})(), "setAASilent", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3211;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 3212, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 3213, this.$lzc$set_aasilent(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setAASilent";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3211;
return $lzsc$temp
})(), "shouldYieldFocus", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 3220;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return true
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "shouldYieldFocus";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3220;
return $lzsc$temp
})(), "blurring", false, "getProxyURL", (function () {
var $lzsc$temp = function (url_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["url", url_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 3235;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
url_$0 = null
};
var proxy_$1 = this.proxyurl;
if (proxy_$1 == null) {
return null
} else if (typeof proxy_$1 == "string") {
return proxy_$1
} else if (typeof proxy_$1 == "function") {
return $4.lineno = 3242, proxy_$1(url_$0)
} else {
$4.lineno = 3244, Debug.error("Unknown value for proxyurl expression %w on %w", proxy_$1, this)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "getProxyURL";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3235;
return $lzsc$temp
})(), "__LZcheckProxyPolicy", (function () {
var $lzsc$temp = function (url_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["url", url_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LaszloView.lzs";
$6.lineno = 3252;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (this.__proxypolicy != null) {
return $6.lineno = 3255, this.__proxypolicy(url_$0)
};
var pol_$1 = LzView.__LZproxypolicies;
for (var i_$2 = pol_$1.length - 1;i_$2 >= 0;i_$2--) {
var resp_$3 = ($6.lineno = 3261, pol_$1[i_$2](url_$0));
if (resp_$3 != null) return resp_$3
};
return canvas.proxied
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "__LZcheckProxyPolicy";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3252;
return $lzsc$temp
})(), "setProxyPolicy", (function () {
var $lzsc$temp = function (f_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["f", f_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3309;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.__proxypolicy = f_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setProxyPolicy";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3309;
return $lzsc$temp
})(), "__proxypolicy", null, "setProxyURL", (function () {
var $lzsc$temp = function (f_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["f", f_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3322;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 3323, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 3324, this.$lzc$set_proxyurl(f_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setProxyURL";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3322;
return $lzsc$temp
})(), "proxyurl", (function () {
var $lzsc$temp = function (url_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["url", url_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3342;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 3347, canvas.getProxyURL(url_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "views/LaszloView.lzs#3342/16";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3342;
return $lzsc$temp
})(), "$lzc$set_proxyurl", (function () {
var $lzsc$temp = function (f_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["f", f_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3351;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.proxyurl = f_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_proxyurl";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3351;
return $lzsc$temp
})(), "contextmenu", null, "$lzc$set_contextmenu", (function () {
var $lzsc$temp = function (cmenu_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["cmenu", cmenu_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3362;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.contextmenu = cmenu_$0;
$3.lineno = 3364, this.sprite.setContextMenu(cmenu_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_contextmenu";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3362;
return $lzsc$temp
})(), "setContextMenu", (function () {
var $lzsc$temp = function (cmenu_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["cmenu", cmenu_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3372;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 3373, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 3374, this.$lzc$set_contextmenu(cmenu_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setContextMenu";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3372;
return $lzsc$temp
})(), "getContextMenu", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 3382;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 3383, Debug.deprecated(this, arguments.callee, "contextmenu");
return this.contextmenu
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getContextMenu";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3382;
return $lzsc$temp
})(), "getNextSelection", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 3399;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getNextSelection";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3399;
return $lzsc$temp
})(), "getPrevSelection", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 3405;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getPrevSelection";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3405;
return $lzsc$temp
})(), "cachebitmap", false, "$lzc$set_cachebitmap", (function () {
var $lzsc$temp = function (cache_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["cache", cache_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3418;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (cache_$0 != this.cachebitmap) {
this.cachebitmap = cache_$0;
if (this.capabilities.bitmapcaching) {
$3.lineno = 3422, this.sprite.setBitmapCache(cache_$0)
} else {
$3.lineno = 3424, LzView.__warnCapability("view.cachebitmap", "bitmapcaching")
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_cachebitmap";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3418;
return $lzsc$temp
})(), "oncontext", LzDeclaredEvent, "context", null, "$lzc$set_context", (function () {
var $lzsc$temp = function (context_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["context", context_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3446;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.context = context_$0;
if (this.oncontext.ready) {
$3.lineno = 3449, this.oncontext.sendEvent(context_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_context";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3446;
return $lzsc$temp
})(), "createContext", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3457;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities["2dcanvas"]) {
$3.lineno = 3460, this.sprite.setContextCallback(this, "$lzc$set_context");
var context_$0 = ($3.lineno = 3462, this.sprite.getContext());
if (context_$0) {
{
if (!this.__LZdeleted) {
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this["$lzc$set_context"]) : this["$lzc$set_context"] instanceof Function) {
this["$lzc$set_context"](context_$0)
} else {
this["context"] = context_$0;
var $lzsc$861979254 = this["oncontext"];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$861979254) : $lzsc$861979254 instanceof LzEvent) {
if ($lzsc$861979254.ready) {
$lzsc$861979254.sendEvent(context_$0)
}}}}}}} else {
$3.lineno = 3467, LzView.__warnCapability("view.createContext", "2dcanvas")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "createContext";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3457;
return $lzsc$temp
})(), "onshadowangle", LzDeclaredEvent, "shadowangle", 0, "$lzc$set_shadowangle", (function () {
var $lzsc$temp = function (angle_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["angle", angle_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3489;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities["dropshadows"]) {
this.shadowangle = angle_$0;
$3.lineno = 3492, this.__updateShadow();
if (this.onshadowangle.ready) {
$3.lineno = 3494, this.onshadowangle.sendEvent(angle_$0)
}} else {
$3.lineno = 3497, LzView.__warnCapability("view.shadowangle", "dropshadows")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_shadowangle";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3489;
return $lzsc$temp
})(), "onshadowdistance", LzDeclaredEvent, "shadowdistance", 10, "$lzc$set_shadowdistance", (function () {
var $lzsc$temp = function (distance_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["distance", distance_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3519;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities["dropshadows"]) {
this.shadowdistance = distance_$0;
$3.lineno = 3522, this.__updateShadow();
if (this.onshadowdistance.ready) {
$3.lineno = 3524, this.onshadowdistance.sendEvent(distance_$0)
}} else {
$3.lineno = 3527, LzView.__warnCapability("view.shadowdistance", "dropshadows")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_shadowdistance";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3519;
return $lzsc$temp
})(), "onshadowcolor", LzDeclaredEvent, "shadowcolor", 0, "$lzc$set_shadowcolor", (function () {
var $lzsc$temp = function (color_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["color", color_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3549;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities["dropshadows"]) {
this.shadowcolor = ($3.lineno = 3551, LzColorUtils.torgb(color_$0));
$3.lineno = 3552, this.__updateShadow();
if (this.onshadowcolor.ready) {
$3.lineno = 3554, this.onshadowcolor.sendEvent(color_$0)
}} else {
$3.lineno = 3557, LzView.__warnCapability("view.shadowcolor", "dropshadows")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_shadowcolor";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3549;
return $lzsc$temp
})(), "onshadowblurradius", LzDeclaredEvent, "shadowblurradius", 4, "$lzc$set_shadowblurradius", (function () {
var $lzsc$temp = function (blurradius_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["blurradius", blurradius_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3579;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities["dropshadows"]) {
this.shadowblurradius = blurradius_$0;
$3.lineno = 3582, this.__updateShadow();
if (this.onshadowblurradius.ready) {
$3.lineno = 3584, this.onshadowblurradius.sendEvent(blurradius_$0)
}} else {
$3.lineno = 3587, LzView.__warnCapability("view.shadowblurradius", "dropshadows")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_shadowblurradius";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3579;
return $lzsc$temp
})(), "__updateShadow", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloView.lzs";
$2.lineno = 3594;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.isinited) {
this.__updateshadowoninit = true
} else {
$2.lineno = 3598, this.sprite.updateShadow(this.shadowcolor, this.shadowdistance, this.shadowangle, this.shadowblurradius)
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__updateShadow";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3594;
return $lzsc$temp
})(), "ontintcolor", LzDeclaredEvent, "tintcolor", "", "$lzc$set_tintcolor", (function () {
var $lzsc$temp = function (color_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["color", color_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloView.lzs";
$4.lineno = 3618;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.capabilities.colortransform) {
if (this.fgcolor != 0) {
$4.lineno = 3622, Debug.warn("Setting tintcolor when fgcolor is already set")
};
if (color_$0 == null || color_$0 == "") {
var obj_$1 = {rb: 0, gb: 0, bb: 0, ab: 0}} else {
if ($4.lineno = 3629, isNaN(color_$0)) {
var color_$0 = ($4.lineno = 3630, this.acceptTypeValue("color", color_$0))
};
var color_$0 = ($4.lineno = 3632, LzColorUtils.inttohex(color_$0));
var obj_$1 = {rb: ($4.lineno = 3634, parseInt(($4.lineno = 3634, color_$0.substring(1, 3)), 16)), gb: ($4.lineno = 3635, parseInt(($4.lineno = 3635, color_$0.substring(3, 5)), 16)), bb: ($4.lineno = 3636, parseInt(($4.lineno = 3636, color_$0.substring(5, 7)), 16))};
if (color_$0.length > 7) {
obj_$1.ab = ($4.lineno = 3640, parseInt(($4.lineno = 3640, color_$0.substring(7)), 16))
}};
$4.lineno = 3644, this.sprite.setColorTransform(obj_$1)
} else {
$4.lineno = 3646, LzView.__warnCapability("view.colortransform", "colortransform")
};
this.tintcolor = color_$0;
if (this.ontintcolor.ready) $4.lineno = 3649, this.ontintcolor.sendEvent(color_$0)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_tintcolor";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3618;
return $lzsc$temp
})(), "oncornerradius", LzDeclaredEvent, "cornerradius", 4, "$lzc$set_cornerradius", (function () {
var $lzsc$temp = function (radius_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["radius", radius_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3670;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities["cornerradius"]) {
$3.lineno = 3672, this.sprite.setCornerRadius(radius_$0)
} else {
$3.lineno = 3674, LzView.__warnCapability("view.cornerradius", "cornerradius")
};
this.cornerradius = radius_$0;
if (this.oncornerradius.ready) $3.lineno = 3677, this.oncornerradius.sendEvent(radius_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_cornerradius";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3670;
return $lzsc$temp
})(), "isMouseOver", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3681;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var mousepos_$0 = ($3.lineno = 3682, this.getMouse());
return $3.lineno = 3683, this.containsPt(mousepos_$0.x, mousepos_$0.y)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "isMouseOver";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3681;
return $lzsc$temp
})(), "$lzc$isMouseOver_dependencies", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3687;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var ignore_$0 = ($3.lineno = 3687, Array.prototype.slice.call(arguments, 0));
return [lz.Idle, "idle"]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$isMouseOver_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3687;
return $lzsc$temp
})(), "isInFrontOf", (function () {
var $lzsc$temp = function (sibling_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sibling", sibling_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3692;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!sibling_$0 || sibling_$0.parent !== this.parent) return null;
return ($3.lineno = 3694, this.sprite.getZ()) > ($3.lineno = 3694, sibling_$0.sprite.getZ())
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "isInFrontOf";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3692;
return $lzsc$temp
})(), "isBehind", (function () {
var $lzsc$temp = function (sibling_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sibling", sibling_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3698;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!sibling_$0 || sibling_$0.parent !== this.parent) return null;
return ($3.lineno = 3700, this.sprite.getZ()) < ($3.lineno = 3700, sibling_$0.sprite.getZ())
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "isBehind";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3698;
return $lzsc$temp
})(), "__widthoffset", 0, "__heightoffset", 0, "__styleinfo", {}, "setCSS", (function () {
var $lzsc$temp = function (stylename_$0, value_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["stylename", stylename_$0, "value", value_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LaszloView.lzs";
$6.lineno = 3719;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var styleinfo_$2 = this.__styleinfo[stylename_$0];
if (!styleinfo_$2) {
$6.lineno = 3723, Debug.warn("Unknown CSS property", stylename_$0);
return
};
if (this.capabilities[styleinfo_$2.capability]) {
$6.lineno = 3731, this.sprite.setCSS(stylename_$0, value_$1, styleinfo_$2.isdimension)
} else {
$6.lineno = 3733, LzView.__warnCapability("view." + ($6.lineno = 3733, stylename_$0.toLowerCase()), styleinfo_$2.capability);
return
};
if (styleinfo_$2.affectsoffset) {
this.__LZhasoffset = this.xoffset != 0 || this.yoffset != 0 || this.__widthoffset != 0 || this.__heightoffset != 0;
this.usegetbounds = this.__LZhasoffset || this.rotation != 0;
var vip_$3 = this.immediateparent;
if (vip_$3.__LZcheckwidth) $6.lineno = 3743, vip_$3.__LZcheckwidthFunction(this);
if (vip_$3.__LZcheckheight) $6.lineno = 3745, vip_$3.__LZcheckheightFunction(this)
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "setCSS";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3719;
return $lzsc$temp
})(), "usegetbounds", false], ["tagname", "view", "attributes", new LzInheritedHash(LzNode.attributes), "__LZdelayedSetters", new LzInheritedHash(LzNode.__LZdelayedSetters), "earlySetters", new LzInheritedHash(LzNode.earlySetters), "__LZlastmtrix", [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "__LZproxypolicies", [], "addProxyPolicy", (function () {
var $lzsc$temp = function (f_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["f", f_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 3278;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 3279, LzView.__LZproxypolicies.push(f_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "addProxyPolicy";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3278;
return $lzsc$temp
})(), "removeProxyPolicy", (function () {
var $lzsc$temp = function (f_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["f", f_$0];
$5.callee = arguments.callee;
$5.filename = "lfc/views/LaszloView.lzs";
$5.lineno = 3290;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var pol_$1 = LzView.__LZproxypolicies;
for (var i_$2 = 0;i_$2 < pol_$1.length;i_$2++) {
if (pol_$1[i_$2] == f_$0) {
LzView.__LZproxypolicies = ($5.lineno = 3294, pol_$1.splice(i_$2, 1));
return true
}};
return false
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "removeProxyPolicy";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3290;
return $lzsc$temp
})(), "__warnCapability", (function () {
var $lzsc$temp = function (msg_$0, capabilityname_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["msg", msg_$0, "capabilityname", capabilityname_$1];
$5.callee = arguments.callee;
$5.filename = "lfc/views/LaszloView.lzs";
$5.lineno = 3388;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 1:
capabilityname_$1 = ""
};
var check_$2 = capabilityname_$1 == "" ? "" : 'Check "canvas.capabilities.' + capabilityname_$1 + '" to avoid this warning.';
$5.lineno = 3391, Debug.warn("The %s runtime does not support %s. %s", canvas["runtime"], msg_$0, check_$2)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__warnCapability";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 3388;
return $lzsc$temp
})()]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloView.lzs";
$3.lineno = 46;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzView.__LZdelayedSetters.layout = "$lzc$set_layout";
LzView.earlySetters.clickregion = 7;
LzView.earlySetters.stretches = 8
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "views/LaszloView.lzs#46/1";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloView.lzs";
$lzsc$temp["_dbg_lineno"] = 46;
return $lzsc$temp
})()(LzView);
lz[LzView.tagname] = LzView;
Class.make("LzText", [LzFormatter, LzView], ["$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LzText.lzs";
$6.lineno = 108;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 109, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 108;
return $lzsc$temp
})(), "maxlines", 1, "selectable", false, "onselectable", LzDeclaredEvent, "$lzc$set_selectable", (function () {
var $lzsc$temp = function (isSel_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["isSel", isSel_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 151;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.selectable = isSel_$0;
$3.lineno = 153, this.tsprite.setSelectable(isSel_$0);
if (this.onselectable.ready) $3.lineno = 154, this.onselectable.sendEvent(isSel_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_selectable";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 151;
return $lzsc$temp
})(), "antiAliasType", "advanced", "$lzc$set_antiAliasType", (function () {
var $lzsc$temp = function (aliasType_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["aliasType", aliasType_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 168;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.advancedfonts) {
if (aliasType_$0 == "normal" || aliasType_$0 == "advanced") {
this.antiAliasType = aliasType_$0;
$3.lineno = 172, this.tsprite.setAntiAliasType(aliasType_$0)
} else {
$3.lineno = 174, Debug.warn("antiAliasType invalid, must be 'normal' or 'advanced', but you said '" + aliasType_$0 + "'")
}} else {
$3.lineno = 177, LzView.__warnCapability("text.setAntiAliasType()", "advancedfonts")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_antiAliasType";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 168;
return $lzsc$temp
})(), "gridFit", "pixel", "$lzc$set_gridFit", (function () {
var $lzsc$temp = function (gridFit_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["gridFit", gridFit_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 188;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.advancedfonts) {
if (gridFit_$0 == "none" || gridFit_$0 == "pixel" || gridFit_$0 == "subpixel") {
this.gridFit = gridFit_$0;
$3.lineno = 192, this.tsprite.setGridFit(gridFit_$0)
} else {
$3.lineno = 194, Debug.warn("gridFit invalid, must be 'none', 'pixel', or 'subpixel' but you said '" + gridFit_$0 + "'")
}} else {
$3.lineno = 197, LzView.__warnCapability("text.setGridFit()", "advancedfonts")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_gridFit";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 188;
return $lzsc$temp
})(), "sharpness", 0, "$lzc$set_sharpness", (function () {
var $lzsc$temp = function (sharpness_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sharpness", sharpness_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 208;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.advancedfonts) {
if (sharpness_$0 >= -400 && sharpness_$0 <= 400) {
this.sharpness = sharpness_$0;
$3.lineno = 212, this.tsprite.setSharpness(sharpness_$0)
} else {
$3.lineno = 214, Debug.warn("sharpness out of range, must be -400 to 400")
}} else {
$3.lineno = 217, LzView.__warnCapability("text.setSharpness()", "advancedfonts")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_sharpness";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 208;
return $lzsc$temp
})(), "thickness", 0, "$lzc$set_thickness", (function () {
var $lzsc$temp = function (thickness_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["thickness", thickness_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 228;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.advancedfonts) {
if (thickness_$0 >= -200 && thickness_$0 <= 200) {
this.thickness = thickness_$0;
$3.lineno = 232, this.tsprite.setThickness(thickness_$0)
} else {
$3.lineno = 234, Debug.warn("thickness out of range, must be -200 to 200")
}} else {
$3.lineno = 237, LzView.__warnCapability("text.setThickness()", "advancedfonts")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_thickness";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 228;
return $lzsc$temp
})(), "$lzc$set_clip", (function () {
var $lzsc$temp = function (c_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["c", c_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 241;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzc$set_clip"] || ($3.lineno = 242, this.nextMethod(arguments.callee, "$lzc$set_clip"))).call(this, c_$0);
if (this.isinited && this.scrollevents && !this.clip) {
$3.lineno = 245, Debug.warn("You have set 'clip' to false on text view ", this, ", 'scrollevents' will be set to false as well");
$3.lineno = 247, this.$lzc$set_scrollevents(false)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_clip";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 241;
return $lzsc$temp
})(), "$lzc$set_width", (function () {
var $lzsc$temp = function (val_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["val", val_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/views/LzText.lzs";
$5.lineno = 256;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var tsprite_$1 = this.tsprite;
$5.lineno = 258, tsprite_$1.setWidth(val_$0);
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzc$set_width"] || ($5.lineno = 259, this.nextMethod(arguments.callee, "$lzc$set_width"))).call(this, val_$0);
if (this.scrollwidth < this.width) {
this.scrollwidth = this.width
};
$5.lineno = 262, this.updateAttribute("maxhscroll", this.scrollwidth - this.width);
if (!this.hassetheight) {
var h_$2 = ($5.lineno = 265, tsprite_$1.getTextfieldHeight());
if (h_$2 > 0 && h_$2 != this.height) {
$5.lineno = 267, this.$lzc$set_height(h_$2);
this.hassetheight = false
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_width";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 256;
return $lzsc$temp
})(), "getDefaultWidth", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 278;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return 0
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getDefaultWidth";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 278;
return $lzsc$temp
})(), "updateAttribute", (function () {
var $lzsc$temp = function (name_$0, value_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["name", name_$0, "value", value_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/views/LzText.lzs";
$5.lineno = 298;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
this[name_$0] = value_$1;
var event_$2 = this["on" + name_$0];
if (event_$2.ready) {
$5.lineno = 301, event_$2.sendEvent(value_$1)
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "updateAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 298;
return $lzsc$temp
})(), "updateLineAttribute", (function () {
var $lzsc$temp = function (name_$0, value_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["name", name_$0, "value", value_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LzText.lzs";
$6.lineno = 316;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var tsprite_$2 = this.tsprite;
var lineNo_$3;
if (this.capabilities.linescrolling) {
lineNo_$3 = ($6.lineno = 320, tsprite_$2.pixelToLineNo(value_$1))
} else {
lineNo_$3 = ($6.lineno = 322, Math.ceil(value_$1 / this.lineheight)) + 1
};
$6.lineno = 324, this.updateAttribute(name_$0, lineNo_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "updateLineAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 316;
return $lzsc$temp
})(), "lineheight", 0, "$lzc$set_lineheight", (function () {
var $lzsc$temp = function (x_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["x", x_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 344;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 345, Debug.error("lineheight is read-only")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_lineheight";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 344;
return $lzsc$temp
})(), "onlineheight", LzDeclaredEvent, "scrollevents", false, "$lzc$set_scrollevents", (function () {
var $lzsc$temp = function (on_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["on", on_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 359;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.scrollevents = on_$0;
if (this.isinited && this.scrollevents && !this.clip) {
$3.lineno = 364, Debug.warn("You have set scrollevents to true on text view ", this, ", but you must also set clip='true' on this view to have scrolling work correctly")
};
$3.lineno = 367, this.tsprite.setScrollEvents(on_$0);
if (this.onscrollevents.ready) $3.lineno = 368, this.onscrollevents.sendEvent(on_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_scrollevents";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 359;
return $lzsc$temp
})(), "onscrollevents", LzDeclaredEvent, "yscroll", 0, "$lzc$set_yscroll", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 387;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (n_$0 > 0) {
$3.lineno = 390, Debug.warn("Invalid value for %w.yscroll: %w", this, n_$0);
n_$0 = 0
};
$3.lineno = 394, this.tsprite.setYScroll(n_$0);
$3.lineno = 395, this.updateAttribute("yscroll", n_$0);
$3.lineno = 396, this.updateLineAttribute("scroll", -n_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_yscroll";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 387;
return $lzsc$temp
})(), "onyscroll", LzDeclaredEvent, "scrollheight", 0, "$lzc$set_scrollheight", (function () {
var $lzsc$temp = function (x_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["x", x_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 420;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 421, Debug.error("scrollheight is read-only")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_scrollheight";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 420;
return $lzsc$temp
})(), "onscrollheight", LzDeclaredEvent, "xscroll", 0, "$lzc$set_xscroll", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 440;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (n_$0 > 0) {
$3.lineno = 443, Debug.warn("Invalid value for %w.xscroll: %w", this, n_$0);
n_$0 = 0
};
$3.lineno = 447, this.tsprite.setXScroll(n_$0);
$3.lineno = 448, this.updateAttribute("xscroll", n_$0);
$3.lineno = 449, this.updateAttribute("hscroll", -n_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_xscroll";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 440;
return $lzsc$temp
})(), "onxscroll", LzDeclaredEvent, "scrollwidth", 0, "$lzc$set_scrollwidth", (function () {
var $lzsc$temp = function (x_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["x", x_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 473;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 474, Debug.error("scrollwidth is read-only")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_scrollwidth";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 473;
return $lzsc$temp
})(), "onscrollwidth", LzDeclaredEvent, "scroll", 1, "$lzc$set_scroll", (function () {
var $lzsc$temp = function (n_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["n", n_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/views/LzText.lzs";
$5.lineno = 496;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (n_$0 < 1 || n_$0 > this.maxscroll) {
$5.lineno = 499, Debug.warn("Invalid valuefor %w.scroll: %w (limits [1, %w])", this, n_$0, this.maxscroll);
n_$0 = n_$0 < 1 ? 1 : this.maxscroll
};
var tsprite_$1 = this.tsprite;
var pixel_$2;
if (this.capabilities.linescrolling) {
pixel_$2 = ($5.lineno = 506, tsprite_$1.lineNoToPixel(n_$0))
} else {
pixel_$2 = (n_$0 - 1) * this.lineheight
};
$5.lineno = 512, this.$lzc$set_yscroll(-pixel_$2)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_scroll";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 496;
return $lzsc$temp
})(), "onscroll", LzDeclaredEvent, "maxscroll", 1, "$lzc$set_maxscroll", (function () {
var $lzsc$temp = function (x_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["x", x_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 532;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 533, Debug.error("maxscroll is read-only")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_maxscroll";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 532;
return $lzsc$temp
})(), "onmaxscroll", LzDeclaredEvent, "hscroll", 0, "$lzc$set_hscroll", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 547;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (n_$0 < 0 || n_$0 > this.maxhscroll) {
$3.lineno = 550, Debug.warn("Invalid value for %w.hscroll: %w (limits [0, %w])", this, n_$0, this.maxhscroll);
n_$0 = n_$0 < 1 ? 1 : this.maxhscroll
};
$3.lineno = 556, this.$lzc$set_xscroll(-n_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_hscroll";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 547;
return $lzsc$temp
})(), "onhscroll", LzDeclaredEvent, "maxhscroll", 0, "$lzc$set_maxhscroll", (function () {
var $lzsc$temp = function (x_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["x", x_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 577;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 578, Debug.error("maxhscroll is read-only")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_maxhscroll";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 577;
return $lzsc$temp
})(), "onmaxhscroll", LzDeclaredEvent, "scrollevent", (function () {
var $lzsc$temp = function (name_$0, value_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["name", name_$0, "value", value_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzText.lzs";
$4.lineno = 594;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (name_$0) {
case "scrollTop":
$4.lineno = 597, this.updateAttribute("yscroll", -value_$1);$4.lineno = 598, this.updateLineAttribute("scroll", value_$1);break;;case "scrollLeft":
$4.lineno = 601, this.updateAttribute("xscroll", -value_$1);$4.lineno = 602, this.updateAttribute("hscroll", value_$1);break;;case "scrollHeight":
$4.lineno = 605, this.updateAttribute("scrollheight", value_$1);$4.lineno = 607, this.updateLineAttribute("maxscroll", ($4.lineno = 607, Math.max(0, value_$1 - this.height)));break;;case "scrollWidth":
$4.lineno = 610, this.updateAttribute("scrollwidth", value_$1);$4.lineno = 612, this.updateAttribute("maxhscroll", ($4.lineno = 612, Math.max(0, value_$1 - this.width)));break;;case "lineHeight":
$4.lineno = 615, this.updateAttribute("lineheight", value_$1);if (this.inited) {
$4.lineno = 618, this.updateLineAttribute("scroll", -this.yscroll)
}break;;default:
{
$4.lineno = 623, Debug.error("%w: Uknown scrollevent %s (%w)", arguments.callee, name_$0, value_$1)
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "scrollevent";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 594;
return $lzsc$temp
})(), "multiline", void 0, "$lzc$set_multiline", (function () {
var $lzsc$temp = function (ml_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["ml", ml_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 658;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.multiline = ml_$0 = !(!ml_$0);
$3.lineno = 660, this.tsprite.setMultiline(ml_$0);
$3.lineno = 661, this._updateSize()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_multiline";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 658;
return $lzsc$temp
})(), "resize", true, "$lzc$set_resize", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 674;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.resize = val_$0;
$3.lineno = 676, this.tsprite.setResize(val_$0);
$3.lineno = 677, this._updateSize()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_resize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 674;
return $lzsc$temp
})(), "text", "", "$lzc$set_text", (function () {
var $lzsc$temp = function (t_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["t", t_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzText.lzs";
$4.lineno = 695;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
t_$0 = ($4.lineno = 697, String(t_$0));
if (t_$0 == ($4.lineno = 699, this.getText())) {
if (this.ontext.ready) $4.lineno = 700, this.ontext.sendEvent(t_$0);
return
};
var tsprite_$1 = this.tsprite;
if (this.visible) $4.lineno = 704, tsprite_$1.setVisible(this.visible);
if (t_$0.length > this.maxlength) {
t_$0 = ($4.lineno = 706, t_$0.substring(0, this.maxlength))
};
$4.lineno = 708, tsprite_$1.setText(t_$0);
this.text = t_$0;
$4.lineno = 710, this._updateSize();
if (this.ontext.ready) $4.lineno = 712, this.ontext.sendEvent(t_$0)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_text";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 695;
return $lzsc$temp
})(), "_updateSize", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzText.lzs";
$4.lineno = 717;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (!this.isinited) {
return
};
if (this.width == 0 || this.resize && this.multiline == false) {
var w_$0 = ($4.lineno = 722, this.getTextWidth());
if (w_$0 != this.width) {
$4.lineno = 725, this.$lzc$set_width(w_$0)
}};
if (!this.hassetheight) {
var h_$1 = ($4.lineno = 730, this.tsprite.getTextfieldHeight());
if (h_$1 > 0 && h_$1 != this.height) {
$4.lineno = 732, this.$lzc$set_height(h_$1);
this.hassetheight = false
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "_updateSize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 717;
return $lzsc$temp
})(), "ontext", LzDeclaredEvent, "ontextlink", LzDeclaredEvent, "maxlength", Infinity, "$lzc$set_maxlength", (function () {
var $lzsc$temp = function (val_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["val", val_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzText.lzs";
$4.lineno = 758;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (val_$0 == null) {
val_$0 = Infinity
};
if ($4.lineno = 760, isNaN(val_$0)) {
$4.lineno = 762, Debug.warn("Invalid value for %w.maxlength: %w", this, val_$0);
return
};
this.maxlength = val_$0;
$4.lineno = 767, this.tsprite.setMaxLength(val_$0);
if (this.onmaxlength.ready) $4.lineno = 768, this.onmaxlength.sendEvent(val_$0);
var t_$1 = ($4.lineno = 770, this.getText());
if (t_$1 && t_$1.length > this.maxlength) {
$4.lineno = 772, this._updateSize()
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_maxlength";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 758;
return $lzsc$temp
})(), "onmaxlength", LzDeclaredEvent, "pattern", void 0, "$lzc$set_pattern", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 786;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (val_$0 == null || val_$0 == "") return;
this.pattern = val_$0;
$3.lineno = 789, this.tsprite.setPattern(val_$0);
if (this.onpattern.ready) $3.lineno = 790, this.onpattern.sendEvent(val_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_pattern";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 786;
return $lzsc$temp
})(), "onpattern", LzDeclaredEvent, "$lzc$set_fontstyle", (function () {
var $lzsc$temp = function (fstyle_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fstyle", fstyle_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 796;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (fstyle_$0 == "plain" || fstyle_$0 == "bold" || fstyle_$0 == "italic" || fstyle_$0 == "bolditalic" || fstyle_$0 == "bold italic") {
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzc$set_fontstyle"] || ($3.lineno = 798, this.nextMethod(arguments.callee, "$lzc$set_fontstyle"))).call(this, fstyle_$0);
$3.lineno = 799, this.tsprite.setFontStyle(fstyle_$0);
$3.lineno = 800, this._updateSize()
} else {
$3.lineno = 802, Debug.warn("invalid font style", fstyle_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_fontstyle";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 796;
return $lzsc$temp
})(), "$lzc$set_font", (function () {
var $lzsc$temp = function (fname_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fname", fname_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 807;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzc$set_font"] || ($3.lineno = 808, this.nextMethod(arguments.callee, "$lzc$set_font"))).call(this, fname_$0);
$3.lineno = 809, this.tsprite.setFontName(fname_$0);
$3.lineno = 810, this._updateSize()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_font";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 807;
return $lzsc$temp
})(), "$lzc$set_fontsize", (function () {
var $lzsc$temp = function (fsize_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fsize", fsize_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 814;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (fsize_$0 <= 0 || ($3.lineno = 815, isNaN(fsize_$0))) {
$3.lineno = 816, Debug.warn("invalid font size", fsize_$0)
} else {
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzc$set_fontsize"] || ($3.lineno = 818, this.nextMethod(arguments.callee, "$lzc$set_fontsize"))).call(this, fsize_$0);
$3.lineno = 819, this.tsprite.setFontSize(fsize_$0);
$3.lineno = 820, this._updateSize()
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_fontsize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 814;
return $lzsc$temp
})(), "textalign", "left", "$lzc$set_textalign", (function () {
var $lzsc$temp = function (align_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["align", align_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 830;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
align_$0 = align_$0 ? ($3.lineno = 831, align_$0.toLowerCase()) : "left";
if (!(align_$0 == "left" || align_$0 == "right" || align_$0 == "center" || align_$0 == "justify")) {
$3.lineno = 835, Debug.warn("Invalid value for %w.textalign: %w", this, align_$0);
align_$0 = "left"
};
this.textalign = align_$0;
$3.lineno = 840, this.tsprite.setTextAlign(align_$0);
$3.lineno = 841, this._updateSize()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_textalign";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 830;
return $lzsc$temp
})(), "textindent", 0, "$lzc$set_textindent", (function () {
var $lzsc$temp = function (indent_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["indent", indent_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 850;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (indent_$0 < 0 || ($3.lineno = 851, isNaN(indent_$0))) {
$3.lineno = 852, Debug.warn("invalid text indent", indent_$0)
} else {
this.textindent = indent_$0;
$3.lineno = 855, this.tsprite.setTextIndent(indent_$0);
$3.lineno = 856, this._updateSize()
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_textindent";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 850;
return $lzsc$temp
})(), "letterspacing", 0, "$lzc$set_letterspacing", (function () {
var $lzsc$temp = function (spacing_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["spacing", spacing_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 866;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (spacing_$0 < 0 || ($3.lineno = 867, isNaN(spacing_$0))) {
$3.lineno = 868, Debug.warn("invalid letter spacing", spacing_$0)
} else {
this.letterspacing = spacing_$0;
$3.lineno = 871, this.tsprite.setLetterSpacing(spacing_$0);
$3.lineno = 872, this._updateSize()
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_letterspacing";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 866;
return $lzsc$temp
})(), "textdecoration", "none", "$lzc$set_textdecoration", (function () {
var $lzsc$temp = function (decoration_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["decoration", decoration_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 882;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
decoration_$0 = decoration_$0 ? ($3.lineno = 883, decoration_$0.toLowerCase()) : "none";
if (!(decoration_$0 == "none" || decoration_$0 == "underline")) {
$3.lineno = 888, Debug.warn("Invalid value for %w.textdecoration: %w", this, decoration_$0);
decoration_$0 = "none"
};
this.textdecoration = decoration_$0;
$3.lineno = 893, this.tsprite.setTextDecoration(decoration_$0);
$3.lineno = 894, this._updateSize()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_textdecoration";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 882;
return $lzsc$temp
})(), "construct", (function () {
var $lzsc$temp = function (parent_$0, args_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["parent", parent_$0, "args", args_$1];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/views/LzText.lzs";
$9.lineno = 906;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
this.multiline = ("multiline" in args_$1) ? args_$1.multiline : null;
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($9.lineno = 912, this.nextMethod(arguments.callee, "construct"))).call(this, parent_$0, args_$1);
for (var arg_$2 in LzText.fontArgToAttr) {
var attr_$3 = LzText.fontArgToAttr[arg_$2];
if (!(arg_$2 in args_$1)) {
args_$1[arg_$2] = ($9.lineno = 919, this.searchParents(attr_$3))[attr_$3]
};
this[attr_$3] = args_$1[arg_$2]
};
if (!("fgcolor" in args_$1)) {
var sview_$4 = this;
do {
sview_$4 = sview_$4.immediateparent;
var fg_$5 = sview_$4["hasfgcolor"];
if (fg_$5 != null && fg_$5) {
args_$1["fgcolor"] = sview_$4["fgcolor"];
break
}} while (sview_$4 != canvas)
};
var tsprite_$6 = this.tsprite;
$9.lineno = 943, tsprite_$6.__initTextProperties(args_$1);
for (var arg_$2 in LzText.fontArgToAttr) {
delete args_$1[arg_$2]
};
this.yscroll = 0;
this.xscroll = 0;
this.resize = ("resize" in args_$1) ? !(!args_$1.resize) : this.resize;
$9.lineno = 955, this.$lzc$set_resize(this.resize);
if (args_$1["maxlength"] != null) {
$9.lineno = 958, this.$lzc$set_maxlength(args_$1.maxlength)
};
this.text = args_$1["text"] != null ? ($9.lineno = 961, String(args_$1.text)) : "";
if (this.text.length > this.maxlength) {
this.text = ($9.lineno = 963, this.text.substring(0, this.maxlength))
};
$9.lineno = 966, this.$lzc$set_multiline(this.multiline);
$9.lineno = 968, tsprite_$6.setText(this.text);
if (!this.hassetwidth) {
if (this.multiline) {
args_$1.width = this.parent.width
} else {
if (this.text != null && this.text != "" && this.text.length > 0) {
args_$1.width = ($9.lineno = 982, this.getTextWidth())
} else {
args_$1.width = ($9.lineno = 986, this.getDefaultWidth())
}}} else {
$9.lineno = 990, this.$lzc$set_resize(false)
};
if (this.hassetheight) {
if (args_$1["height"] != null) {
$9.lineno = 1001, this.$lzc$set_height(args_$1.height)
}};
if (args_$1["pattern"] != null) {
$9.lineno = 1006, this.$lzc$set_pattern(args_$1.pattern)
};
if (this.capabilities.advancedfonts) {
if (!("antiAliasType" in args_$1)) {
$9.lineno = 1012, this.$lzc$set_antiAliasType("advanced")
};
if (!("gridFit" in args_$1)) {
$9.lineno = 1015, this.$lzc$set_gridFit("subpixel")
}};
$9.lineno = 1018, this._updateSize()
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 906;
return $lzsc$temp
})(), "init", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1027;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["init"] || ($2.lineno = 1028, this.nextMethod(arguments.callee, "init"))).call(this);
if (this.scrollevents && !this.clip) {
$2.lineno = 1032, Debug.warn("You have set scrollevents to true on text view ", this, ", but you must also set clip='true' on this view to have scrolling work correctly")
};
$2.lineno = 1035, this._updateSize()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "init";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1027;
return $lzsc$temp
})(), "tsprite", void 0, "__makeSprite", (function () {
var $lzsc$temp = function (args_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["args", args_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1050;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.sprite = this.tsprite = ($3.lineno = 1052, new LzTextSprite(this, args_$0))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__makeSprite";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1050;
return $lzsc$temp
})(), "setResize", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1065;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1066, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1067, this.$lzc$set_resize(val_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setResize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1065;
return $lzsc$temp
})(), "addText", (function () {
var $lzsc$temp = function (t_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["t", t_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1074;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1083, this.$lzc$set_text(($3.lineno = 1083, this.getText()) + t_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "addText";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1074;
return $lzsc$temp
})(), "clearText", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1089;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 1090, this.$lzc$set_text("")
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "clearText";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1089;
return $lzsc$temp
})(), "setMaxLength", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1098;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1099, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1100, this.$lzc$set_maxlength(val_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setMaxLength";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1098;
return $lzsc$temp
})(), "setPattern", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1109;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1110, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1111, this.$lzc$set_pattern(val_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setPattern";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1109;
return $lzsc$temp
})(), "getTextWidth", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1117;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 1118, this.tsprite.getTextWidth()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getTextWidth";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1117;
return $lzsc$temp
})(), "$lzc$getTextWidth_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["who", who_$0, "self", self_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzText.lzs";
$4.lineno = 1121;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return [self_$1, "text"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getTextWidth_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1121;
return $lzsc$temp
})(), "getTextHeight", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1128;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 1129, this.tsprite.getTextfieldHeight()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getTextHeight";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1128;
return $lzsc$temp
})(), "$lzc$getTextHeight_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["who", who_$0, "self", self_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzText.lzs";
$4.lineno = 1132;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return [self_$1, "text"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getTextHeight_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1132;
return $lzsc$temp
})(), "applyData", (function () {
var $lzsc$temp = function (d_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["d", d_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1137;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (null == d_$0) {
$3.lineno = 1139, this.clearText()
} else {
$3.lineno = 1141, this.$lzc$set_text(d_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "applyData";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1137;
return $lzsc$temp
})(), "setScroll", (function () {
var $lzsc$temp = function (h_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["h", h_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1149;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1150, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1151, this.$lzc$set_scroll(h_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setScroll";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1149;
return $lzsc$temp
})(), "getScroll", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1155;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.scroll
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getScroll";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1155;
return $lzsc$temp
})(), "getMaxScroll", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1161;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.maxscroll
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getMaxScroll";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1161;
return $lzsc$temp
})(), "$lzc$getMaxScroll_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["who", who_$0, "self", self_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzText.lzs";
$4.lineno = 1166;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return [self_$1, "maxscroll"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getMaxScroll_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1166;
return $lzsc$temp
})(), "getBottomScroll", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1171;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.scroll + this.height / this.lineheight
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getBottomScroll";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1171;
return $lzsc$temp
})(), "setXScroll", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1183;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1184, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1185, this.$lzc$set_xscroll(n_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setXScroll";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1183;
return $lzsc$temp
})(), "setYScroll", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1194;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1195, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1196, this.$lzc$set_yscroll(n_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setYScroll";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1194;
return $lzsc$temp
})(), "setHScroll", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1203;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1204, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1205, this.$lzc$set_hscroll(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setHScroll";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1203;
return $lzsc$temp
})(), "annotateAAimg", (function () {
var $lzsc$temp = function (txt_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["txt", txt_$0];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/views/LzText.lzs";
$a.lineno = 1210;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
if (typeof txt_$0 == "undefined") {
return
};
if (txt_$0.length == 0) {
return
};
var ntxt_$1 = "";
var start_$2 = 0;
var end_$3 = 0;
var i_$4;
var IMGSTART_$5 = "<img ";
while (true) {
i_$4 = ($a.lineno = 1222, txt_$0.indexOf(IMGSTART_$5, start_$2));
if (i_$4 < 0) {
ntxt_$1 += ($a.lineno = 1224, txt_$0.substring(start_$2));
break
};
ntxt_$1 += ($a.lineno = 1228, txt_$0.substring(start_$2, i_$4 + IMGSTART_$5.length));
start_$2 = i_$4 + IMGSTART_$5.length;
var attrs_$6 = {};
end_$3 = start_$2 + ($a.lineno = 1232, this.parseImgAttributes(attrs_$6, ($a.lineno = 1232, txt_$0.substring(start_$2))));
ntxt_$1 += ($a.lineno = 1233, txt_$0.substring(start_$2, end_$3 + 1));
if (attrs_$6["alt"] != null) {
var altval_$7 = attrs_$6["alt"];
ntxt_$1 += "[image " + altval_$7 + "]"
};
start_$2 = end_$3 + 1
};
return ntxt_$1
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "annotateAAimg";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1210;
return $lzsc$temp
})(), "parseImgAttributes", (function () {
var $lzsc$temp = function (attrs_$0, str_$1) {
var $e = Debug;
var $f = $e.backtraceStack;
try {
if ($f) {
var $g = ["attrs", attrs_$0, "str", str_$1];
$g.callee = arguments.callee;
$g["this"] = this;
$g.filename = "lfc/views/LzText.lzs";
$g.lineno = 1249;
$f.push($g);
if ($f.length > $f.maxDepth) {
$e.stackOverflow()
}};
var i_$2;
var end_$3 = 0;
var ATTNAME_$4 = "attrname";
var ATTVAL_$5 = "attrval";
var WHITESPACE_$6 = "whitespace";
var WHITESPACE2_$7 = "whitespace2";
var mode_$8 = WHITESPACE_$6;
var smax_$9 = str_$1.length;
var attrname_$a;
var attrval_$b;
var delimiter_$c;
for (i_$2 = 0;i_$2 < smax_$9;i_$2++) {
end_$3 = i_$2;
var c_$d = ($g.lineno = 1263, str_$1.charAt(i_$2));
if (c_$d == ">") {
break
};
if (mode_$8 == WHITESPACE_$6) {
if (c_$d != " ") {
mode_$8 = ATTNAME_$4;
attrname_$a = c_$d
}} else if (mode_$8 == ATTNAME_$4) {
if (c_$d == " " || c_$d == "=") {
mode_$8 = WHITESPACE2_$7
} else {
attrname_$a += c_$d
}} else if (mode_$8 == WHITESPACE2_$7) {
if (c_$d == " " || c_$d == "=") {
continue
} else {
mode_$8 = ATTVAL_$5;
delimiter_$c = c_$d;
attrval_$b = ""
}} else if (mode_$8 == ATTVAL_$5) {
if (c_$d != delimiter_$c) {
attrval_$b += c_$d
} else {
mode_$8 = WHITESPACE_$6;
attrs_$0[attrname_$a] = attrval_$b
}}};
return end_$3
}
finally {
if ($f) {
$f.length--
}}};
$lzsc$temp["displayName"] = "parseImgAttributes";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1249;
return $lzsc$temp
})(), "setText", (function () {
var $lzsc$temp = function (t_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["t", t_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1304;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1305, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1306, this.$lzc$set_text(t_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setText";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1304;
return $lzsc$temp
})(), "format", (function () {
var $lzsc$temp = function (control_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["control", control_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzText.lzs";
$4.lineno = 1321;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var args_$1 = ($4.lineno = 1321, Array.prototype.slice.call(arguments, 1));
$4.lineno = 1325, this.$lzc$set_text(($4.lineno = 1325, ($4.lineno = 1325, ($4.lineno = 1325, this.formatToString.apply(this, ($4.lineno = 1325, [control_$0].concat(args_$1)))).toString()).toHTML()))
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "format";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1321;
return $lzsc$temp
})(), "addFormat", (function () {
var $lzsc$temp = function (control_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["control", control_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzText.lzs";
$4.lineno = 1340;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var args_$1 = ($4.lineno = 1340, Array.prototype.slice.call(arguments, 1));
$4.lineno = 1344, this.$lzc$set_text(($4.lineno = 1344, this.getText()) + ($4.lineno = 1345, ($4.lineno = 1345, ($4.lineno = 1345, this.formatToString.apply(this, ($4.lineno = 1345, [control_$0].concat(args_$1)))).toString()).toHTML()))
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "addFormat";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1340;
return $lzsc$temp
})(), "updateMaxLines", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1353;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var newlin_$0 = ($3.lineno = 1354, Math.floor(this.height / (this.font.height - 1)));
if (newlin_$0 != this.maxlines) {
this.maxlines = newlin_$0
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "updateMaxLines";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1353;
return $lzsc$temp
})(), "getText", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1365;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.text
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getText";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1365;
return $lzsc$temp
})(), "$lzc$getText_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["who", who_$0, "self", self_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzText.lzs";
$4.lineno = 1371;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return [self_$1, "text"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getText_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1371;
return $lzsc$temp
})(), "escapeText", (function () {
var $lzsc$temp = function (ts_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["ts", ts_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LzText.lzs";
$6.lineno = 1383;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var t_$1 = ts_$0 == null ? this.text : ts_$0;
var i_$2;
for (var ec_$3 in LzText.escapeChars) {
while (($6.lineno = 1387, t_$1.indexOf(ec_$3)) > -1) {
i_$2 = ($6.lineno = 1388, t_$1.indexOf(ec_$3));
t_$1 = ($6.lineno = 1389, t_$1.substring(0, i_$2)) + LzText.escapeChars[ec_$3] + ($6.lineno = 1390, t_$1.substring(i_$2 + 1))
}};
return t_$1
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "escapeText";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1383;
return $lzsc$temp
})(), "setSelectable", (function () {
var $lzsc$temp = function (isSel_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["isSel", isSel_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1401;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1402, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1403, this.$lzc$set_selectable(isSel_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setSelectable";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1401;
return $lzsc$temp
})(), "setFontSize", (function () {
var $lzsc$temp = function (fsize_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fsize", fsize_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1410;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1411, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1412, this.$lzc$set_fontsize(fsize_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setFontSize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1410;
return $lzsc$temp
})(), "setFontStyle", (function () {
var $lzsc$temp = function (fstyle_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fstyle", fstyle_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1419;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1420, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1421, this.$lzc$set_fontstyle(fstyle_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setFontStyle";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1419;
return $lzsc$temp
})(), "setMultiline", (function () {
var $lzsc$temp = function (ml_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["ml", ml_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1431;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1432, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1433, this.$lzc$set_multiline(ml_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setMultiline";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1431;
return $lzsc$temp
})(), "setBorder", (function () {
var $lzsc$temp = function (onroff_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["onroff", onroff_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1438;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1439, this.tsprite.setBorder(onroff_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setBorder";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1438;
return $lzsc$temp
})(), "setWordWrap", (function () {
var $lzsc$temp = function (wrap_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["wrap", wrap_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1446;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1447, this.tsprite.setWordWrap(wrap_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setWordWrap";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1446;
return $lzsc$temp
})(), "setEmbedFonts", (function () {
var $lzsc$temp = function (onroff_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["onroff", onroff_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1452;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1453, this.tsprite.setEmbedFonts(onroff_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setEmbedFonts";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1452;
return $lzsc$temp
})(), "setAntiAliasType", (function () {
var $lzsc$temp = function (aliasType_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["aliasType", aliasType_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1463;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1464, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1465, this.$lzc$set_antiAliasType(aliasType_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setAntiAliasType";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1463;
return $lzsc$temp
})(), "getAntiAliasType", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1472;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.advancedfonts) {
return this.antiAliasType
} else {
$2.lineno = 1476, LzView.__warnCapability("text.getAntiAliasType()", "advancedfonts")
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getAntiAliasType";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1472;
return $lzsc$temp
})(), "setGridFit", (function () {
var $lzsc$temp = function (gridFit_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["gridFit", gridFit_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1487;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1488, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1489, this.$lzc$set_gridFit(gridFit_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setGridFit";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1487;
return $lzsc$temp
})(), "getGridFit", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1496;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.advancedfonts) {
return this.gridFit
} else {
$2.lineno = 1500, LzView.__warnCapability("text.getGridFit()", "advancedfonts")
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getGridFit";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1496;
return $lzsc$temp
})(), "setSharpness", (function () {
var $lzsc$temp = function (sharpness_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sharpness", sharpness_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1511;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1512, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1513, this.$lzc$set_sharpness(sharpness_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setSharpness";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1511;
return $lzsc$temp
})(), "getSharpness", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1520;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.advancedfonts) {
return this.sharpness
} else {
$2.lineno = 1524, LzView.__warnCapability("text.getSharpness()", "advancedfonts")
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getSharpness";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1520;
return $lzsc$temp
})(), "setThickness", (function () {
var $lzsc$temp = function (thickness_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["thickness", thickness_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 1534;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1535, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 1536, this.$lzc$set_thickness(thickness_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setThickness";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1534;
return $lzsc$temp
})(), "getThickness", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1543;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.advancedfonts) {
return this.thickness
} else {
$2.lineno = 1547, LzView.__warnCapability("text.getThickness()", "advancedfonts")
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getThickness";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1543;
return $lzsc$temp
})(), "setSelection", (function () {
var $lzsc$temp = function (start_$0, end_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["start", start_$0, "end", end_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzText.lzs";
$4.lineno = 1561;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
end_$1 = null
};
if (end_$1 == null) {
end_$1 = start_$0
};
$4.lineno = 1563, this.tsprite.setSelection(start_$0, end_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setSelection";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1561;
return $lzsc$temp
})(), "getSelectionPosition", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1572;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 1573, this.tsprite.getSelectionPosition()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getSelectionPosition";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1572;
return $lzsc$temp
})(), "getSelectionSize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1582;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 1583, this.tsprite.getSelectionSize()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getSelectionSize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1582;
return $lzsc$temp
})(), "makeTextLink", (function () {
var $lzsc$temp = function (str_$0, value_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["str", str_$0, "value", value_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzText.lzs";
$4.lineno = 1597;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return $4.lineno = 1598, this.tsprite.makeTextLink(str_$0, value_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "makeTextLink";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1597;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzText.lzs";
$2.lineno = 1603;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "LzText: " + ($2.lineno = 1604, this.getText())
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1603;
return $lzsc$temp
})()], ["tagname", "text", "attributes", new LzInheritedHash(LzView.attributes), "fontArgToAttr", {font: "fontname", fontsize: "fontsize", fontstyle: "fontstyle"}, "escapeChars", {">": "&gt;", "<": "&lt;"}]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzText.lzs";
$3.lineno = 102;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzText.attributes.pixellock = true;
LzText.attributes.selectable = false;
LzText.prototype._dbg_name = (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzText.lzs";
$4.lineno = 1611;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var id_$0 = ($4.lineno = 1612, LzView.prototype._dbg_name.call(this));
if (id_$0 != ($4.lineno = 1613, this.toString())) {
return id_$0
} else {
var contents_$1 = ($4.lineno = 1616, this.getText());
if (contents_$1) {
return $4.lineno = 1618, Debug.stringEscape(contents_$1, true)
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "views/LzText.lzs#1611/34";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 1611;
return $lzsc$temp
})()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "views/LzText.lzs#102/1";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzText.lzs";
$lzsc$temp["_dbg_lineno"] = 102;
return $lzsc$temp
})()(LzText);
lz[LzText.tagname] = LzText;
Class.make("LzInputText", LzText, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LzInputText.lzs";
$6.lineno = 61;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 62, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 61;
return $lzsc$temp
})(), "password", void 0, "onenabled", LzDeclaredEvent, "getDefaultWidth", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzInputText.lzs";
$2.lineno = 90;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return 100
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getDefaultWidth";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 90;
return $lzsc$temp
})(), "_onfocusDel", null, "_onblurDel", null, "_modemanagerDel", null, "construct", (function () {
var $lzsc$temp = function (parent_$0, args_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["parent", parent_$0, "args", args_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzInputText.lzs";
$4.lineno = 105;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.password = ("password" in args_$1) ? !(!args_$1.password) : false;
this.resize = ("resize" in args_$1) ? !(!args_$1.resize) : false;
this.focusable = true;
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($4.lineno = 109, this.nextMethod(arguments.callee, "construct"))).call(this, parent_$0, args_$1);
this._onfocusDel = ($4.lineno = 110, new LzDelegate(this, "_gotFocusEvent", this, "onfocus"));
this._onblurDel = ($4.lineno = 112, new LzDelegate(this, "_gotBlurEvent", this, "onblur"));
this._modemanagerDel = ($4.lineno = 114, new LzDelegate(this, "_modechanged", lz.ModeManager, "onmode"))
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 105;
return $lzsc$temp
})(), "destroy", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzInputText.lzs";
$2.lineno = 121;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this._onfocusDel) {
$2.lineno = 123, this._onfocusDel.unregisterAll();
this._onfocusDel = null
};
if (this._onblurDel) {
$2.lineno = 128, this._onblurDel.unregisterAll();
this._onblurDel = null
};
if (this._modemanagerDel) {
$2.lineno = 133, this._modemanagerDel.unregisterAll();
this._modemanagerDel = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["destroy"] || ($2.lineno = 137, this.nextMethod(arguments.callee, "destroy"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 121;
return $lzsc$temp
})(), "isprite", void 0, "__makeSprite", (function () {
var $lzsc$temp = function (args_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["args", args_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzInputText.lzs";
$3.lineno = 147;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.sprite = this.tsprite = this.isprite = ($3.lineno = 148, new LzInputTextSprite(this, args_$0))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__makeSprite";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 147;
return $lzsc$temp
})(), "_focused", false, "_gotFocusEvent", (function () {
var $lzsc$temp = function (e_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["e", e_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzInputText.lzs";
$4.lineno = 155;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
e_$0 = null
};
this._focused = true;
var isprite_$1 = this.sprite;
$4.lineno = 158, isprite_$1.gotFocus()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "_gotFocusEvent";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 155;
return $lzsc$temp
})(), "_gotBlurEvent", (function () {
var $lzsc$temp = function (e_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["e", e_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzInputText.lzs";
$4.lineno = 162;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
e_$0 = null
};
this._focused = false;
var isprite_$1 = this.sprite;
$4.lineno = 165, isprite_$1.gotBlur()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "_gotBlurEvent";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 162;
return $lzsc$temp
})(), "inputtextevent", (function () {
var $lzsc$temp = function (eventname_$0, value_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["eventname", eventname_$0, "value", value_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LzInputText.lzs";
$6.lineno = 172;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 1:
value_$1 = null
};
if (eventname_$0 == "onfocus" && this._focused) return;
if (eventname_$0 == "onblur" && !this._focused) return;
if (eventname_$0 == "onfocus") {
this._focused = true;
if (($6.lineno = 178, lz.Focus.getFocus()) !== this) {
var tabdown_$2 = ($6.lineno = 179, lz.Keys.isKeyDown("tab"));
$6.lineno = 180, lz.Focus.setFocus(this, tabdown_$2)
}} else if (eventname_$0 == "onchange") {
var isprite_$3 = this.sprite;
this.text = ($6.lineno = 185, isprite_$3.getText());
if (this.multiline && !this.hassetheight && this.height != ($6.lineno = 188, isprite_$3.getTextfieldHeight())) {
$6.lineno = 189, this.$lzc$set_height(($6.lineno = 189, isprite_$3.getTextfieldHeight()))
};
if (this.ontext.ready) $6.lineno = 191, this.ontext.sendEvent(value_$1)
} else if (eventname_$0 == "onblur") {
this._focused = false;
if (($6.lineno = 194, lz.Focus.getFocus()) === this) {
$6.lineno = 195, lz.Focus.clearFocus()
}} else {
$6.lineno = 199, Debug.warn("unhandled inputtextevent='%s' in %#w", eventname_$0, this)
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "inputtextevent";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 172;
return $lzsc$temp
})(), "updateData", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzInputText.lzs";
$3.lineno = 209;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var isprite_$0 = this.sprite;
return $3.lineno = 211, isprite_$0.getText()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "updateData";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 209;
return $lzsc$temp
})(), "enabled", true, "$lzc$set_enabled", (function () {
var $lzsc$temp = function (enabled_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["enabled", enabled_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzInputText.lzs";
$4.lineno = 224;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.focusable = true;
this.enabled = enabled_$0;
var isprite_$1 = this.sprite;
$4.lineno = 228, isprite_$1.setEnabled(enabled_$0);
if (this.onenabled.ready) $4.lineno = 229, this.onenabled.sendEvent(enabled_$0)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_enabled";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 224;
return $lzsc$temp
})(), "setEnabled", (function () {
var $lzsc$temp = function (enabled_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["enabled", enabled_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzInputText.lzs";
$3.lineno = 237;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 238, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 239, this.$lzc$set_enabled(enabled_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setEnabled";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 237;
return $lzsc$temp
})(), "setHTML", (function () {
var $lzsc$temp = function (htmlp_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["htmlp", htmlp_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LzInputText.lzs";
$4.lineno = 246;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.capabilities["htmlinputtext"]) {
var isprite_$1 = this.sprite;
$4.lineno = 249, isprite_$1.setHTML(htmlp_$0)
} else {
$4.lineno = 251, LzView.__warnCapability("inputtext.setHTML()", "htmlinputtext")
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setHTML";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 246;
return $lzsc$temp
})(), "getText", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzInputText.lzs";
$2.lineno = 257;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 258, this.sprite.getText()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getText";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 257;
return $lzsc$temp
})(), "_allowselectable", true, "_selectable", void 0, "_modechanged", (function () {
var $lzsc$temp = function (modalview_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["modalview", modalview_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzInputText.lzs";
$3.lineno = 277;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 280, this._setallowselectable(!modalview_$0 || ($3.lineno = 280, lz.ModeManager.__LZallowInput(modalview_$0, this)))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "_modechanged";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 277;
return $lzsc$temp
})(), "_setallowselectable", (function () {
var $lzsc$temp = function (value_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["value", value_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzInputText.lzs";
$3.lineno = 287;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this._allowselectable = value_$0;
$3.lineno = 289, this.$lzc$set_selectable(this._selectable)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "_setallowselectable";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 287;
return $lzsc$temp
})(), "$lzc$set_selectable", (function () {
var $lzsc$temp = function (value_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["value", value_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzInputText.lzs";
$3.lineno = 295;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this._selectable = value_$0;
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzc$set_selectable"] || ($3.lineno = 298, this.nextMethod(arguments.callee, "$lzc$set_selectable"))).call(this, this._allowselectable ? value_$0 : false)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_selectable";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 295;
return $lzsc$temp
})()], ["tagname", "inputtext", "attributes", new LzInheritedHash(LzText.attributes)]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzInputText.lzs";
$3.lineno = 59;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
$3.lineno = 78, LzNode.mergeAttributes({selectable: true, enabled: true, clip: true}, LzInputText.attributes)
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "views/LzInputText.lzs#59/1";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzInputText.lzs";
$lzsc$temp["_dbg_lineno"] = 59;
return $lzsc$temp
})()(LzInputText);
lz[LzInputText.tagname] = LzInputText;
Class.make("LzViewLinkage", null, ["scale", 1, "offset", 0, "uplinkArray", null, "downlinkArray", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function (fromView_$0, toView_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["fromView", fromView_$0, "toView", toView_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/views/LzViewLinkage.lzs";
$5.lineno = 47;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
this.scale = ($5.lineno = 50, new Object());
this.offset = ($5.lineno = 53, new Object());
if (fromView_$0 == toView_$1) {
return
};
this.uplinkArray = [];
var pview_$2 = fromView_$0;
do {
pview_$2 = pview_$2.immediateparent;
$5.lineno = 60, this.uplinkArray.push(pview_$2)
} while (pview_$2 != toView_$1 && pview_$2 != canvas);
this.downlinkArray = [];
if (pview_$2 == toView_$1) return;
var pview_$2 = toView_$1;
do {
pview_$2 = pview_$2.immediateparent;
$5.lineno = 69, this.downlinkArray.push(pview_$2)
} while (pview_$2 != canvas);
while (this.uplinkArray.length > 1 && this.downlinkArray[this.downlinkArray.length - 1] == this.uplinkArray[this.uplinkArray.length - 1] && this.downlinkArray[this.downlinkArray.length - 2] == this.uplinkArray[this.uplinkArray.length - 2]) {
$5.lineno = 78, this.downlinkArray.pop();
$5.lineno = 79, this.uplinkArray.pop()
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzViewLinkage.lzs";
$lzsc$temp["_dbg_lineno"] = 47;
return $lzsc$temp
})(), "update", (function () {
var $lzsc$temp = function (xory_$0) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["xory", xory_$0];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/views/LzViewLinkage.lzs";
$9.lineno = 87;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var tscale_$1 = 1;
var toffset_$2 = 0;
var scale_$3 = "_" + xory_$0 + "scale";
if (this.uplinkArray) {
var ual_$4 = this.uplinkArray.length;
for (var i_$5 = 0;i_$5 < ual_$4;i_$5++) {
var a_$6 = this.uplinkArray[i_$5];
tscale_$1 *= a_$6[scale_$3];
toffset_$2 += a_$6[xory_$0] / tscale_$1
}};
if (this.downlinkArray) {
for (var i_$5 = this.downlinkArray.length - 1;i_$5 >= 0;i_$5--) {
var a_$6 = this.downlinkArray[i_$5];
toffset_$2 -= a_$6[xory_$0] / tscale_$1;
tscale_$1 /= a_$6[scale_$3]
}};
this.scale[xory_$0] = tscale_$1;
this.offset[xory_$0] = toffset_$2
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "update";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzViewLinkage.lzs";
$lzsc$temp["_dbg_lineno"] = 87;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LzViewLinkage.lzs";
$3.lineno = 36;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzViewLinkage.prototype._dbg_name = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LzViewLinkage.lzs";
$2.lineno = 118;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "[" + this.scale.x + " 0 " + this.offset.x + " 0 " + this.scale.y + " " + this.offset.y + " 0 0 1]"
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "views/LzViewLinkage.lzs#118/41";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzViewLinkage.lzs";
$lzsc$temp["_dbg_lineno"] = 118;
return $lzsc$temp
})()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "views/LzViewLinkage.lzs#36/1";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzViewLinkage.lzs";
$lzsc$temp["_dbg_lineno"] = 36;
return $lzsc$temp
})()(LzViewLinkage);
Class.make("LzCanvas", LzView, ["updatePercentCreatedEnabled", true, "resourcetable", void 0, "_lzinitialsubviews", [], "totalnodes", void 0, "framerate", 30, "onframerate", LzDeclaredEvent, "creatednodes", void 0, "__LZproxied", void 0, "embedfonts", void 0, "lpsbuild", void 0, "lpsbuilddate", void 0, "appbuilddate", void 0, "runtime", void 0, "allowfullscreen", void 0, "fullscreen", void 0, "onfullscreen", LzDeclaredEvent, "__LZmouseupDel", void 0, "__LZmousedownDel", void 0, "__LZmousemoveDel", void 0, "__LZDefaultCanvasMenu", void 0, "httpdataprovider", null, "defaultdataprovider", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, args_$1, children_$2, async_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "args", args_$1, "children", children_$2, "async", async_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LaszloCanvas.lzs";
$6.lineno = 192;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
args_$1 = null;;case 2:
children_$2 = null;;case 3:
async_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 193, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, args_$1, children_$2, async_$3);
this.datasets = {};
this.__LZcheckwidth = null;
this.__LZcheckheight = null;
this.hassetwidth = true;
this.hassetheight = true
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 192;
return $lzsc$temp
})(), "construct", (function () {
var $lzsc$temp = function (parent_$0, args) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
var getQueryArg_$2;
if ($4) {
var $5 = ["parent", parent_$0, "args", args];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/views/LaszloCanvas.lzs";
$5.lineno = 209;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
getQueryArg_$2 = (function () {
var $lzsc$temp = function (name_$0, initname_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["name", name_$0, "initname", initname_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LaszloCanvas.lzs";
$6.lineno = 230;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var arg_$2 = args[name_$0];
delete args[name_$0];
if (arg_$2 != null) {
return !(!arg_$2)
} else if (initname_$1 != null) {
var initarg_$3 = ($6.lineno = 237, lz.Browser.getInitArg(initname_$1));
if (initarg_$3 != null) {
return initarg_$3 == "true"
}};
return void 0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "getQueryArg";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 230;
return $lzsc$temp
})();
$5.lineno = 210, this.__makeSprite(null);
var capabilities_$1 = this.sprite.capabilities;
this.capabilities = capabilities_$1;
this.immediateparent = this;
this.datapath = ($5.lineno = 226, new LzDatapath(this));
this.mask = null;
this.accessible = ($5.lineno = 247, getQueryArg_$2("accessible", null));
if (capabilities_$1.accessibility == true) {
$5.lineno = 250, this.sprite.setAccessible(this.accessible);
if (this.accessible) {
$5.lineno = 252, this.sprite.setAAActive(true);
$5.lineno = 253, this.sprite.setAASilent(false)
}} else if (this.accessible) {
$5.lineno = 256, Debug.warn("This runtime doesn't support accessibility.");
this.accessible = false
};
this.history = ($5.lineno = 260, getQueryArg_$2("history", "history"));
if (this.history && capabilities_$1.history != true) {
$5.lineno = 263, Debug.warn("This runtime doesn't support history.");
this.history = false
};
this.allowfullscreen = ($5.lineno = 268, getQueryArg_$2("allowfullscreen", "allowfullscreen"));
if (this.allowfullscreen && capabilities_$1.allowfullscreen != true) {
$5.lineno = 271, Debug.warn("This runtime doesn't support full screen mode.");
this.allowfullscreen = false
};
this.fullscreen = false;
this.viewLevel = 0;
this.resourcetable = {};
this.totalnodes = 0;
this.creatednodes = 0;
this.percentcreated = 0;
if (!args.framerate) {
args.framerate = 30
};
this.proxied = ($5.lineno = 290, getQueryArg_$2("proxied", "lzproxied"));
if (this.proxied == null) {
this.proxied = args.__LZproxied == "true"
};
if (typeof args.proxyurl == "undefined") {
this.proxyurl = ($5.lineno = 298, ($5.lineno = 298, lz.Browser.getBaseURL()).toString())
};
if (args.focustrap != null) {
if (capabilities_$1.globalfocustrap != true) {
delete args.focustrap
}};
$5.lineno = 313, LzScreenKernel.setCallback(this, "__windowResize");
delete args.width;
delete args.height;
if (args["fgcolor"] != null) {
this.hasfgcolor = true
};
this.lpsversion = args.lpsversion + "." + this.__LZlfcversion;
delete args.lpsversion;
this.__LZdelayedSetters = LzView.__LZdelayedSetters;
this.earlySetters = LzView.earlySetters;
if (!this.version) {
this.version = this.lpsversion
};
this.isinited = false;
this._lzinitialsubviews = [];
this.datasets = {};
global.canvas = this;
this.parent = this;
$5.lineno = 338, this.makeMasked();
this.__LZmouseupDel = ($5.lineno = 340, new LzDelegate(this, "__LZmouseup", lz.GlobalMouse, "onmouseup"));
this.__LZmousedownDel = ($5.lineno = 341, new LzDelegate(this, "__LZmousedown", lz.GlobalMouse, "onmousedown"));
this.__LZmousemoveDel = ($5.lineno = 342, new LzDelegate(this, "__LZmousemove", lz.GlobalMouse, "onmousemove"));
this.defaultdataprovider = this.httpdataprovider = ($5.lineno = 345, new LzHTTPDataProvider());
this.id = ($5.lineno = 347, lz.Browser.getAppID())
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 209;
return $lzsc$temp
})(), "__LZmouseup", (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 354;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.onmouseup.ready) $3.lineno = 355, this.onmouseup.sendEvent()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZmouseup";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 354;
return $lzsc$temp
})(), "__LZmousemove", (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 362;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.onmousemove.ready) $3.lineno = 363, this.onmousemove.sendEvent()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZmousemove";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 362;
return $lzsc$temp
})(), "__LZmousedown", (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 370;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.onmousedown.ready) $3.lineno = 371, this.onmousedown.sendEvent()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZmousedown";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 370;
return $lzsc$temp
})(), "__makeSprite", (function () {
var $lzsc$temp = function (args_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["args", args_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 378;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.sprite = ($3.lineno = 379, new LzSprite(this, true))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__makeSprite";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 378;
return $lzsc$temp
})(), "onmouseleave", LzDeclaredEvent, "onmouseenter", LzDeclaredEvent, "onpercentcreated", LzDeclaredEvent, "onmousemove", LzDeclaredEvent, "onafterinit", LzDeclaredEvent, "lpsversion", void 0, "lpsrelease", void 0, "version", null, "__LZlfcversion", "0", "proxied", true, "dataloadtimeout", 30000, "medialoadtimeout", 30000, "mediaerrortimeout", 4500, "percentcreated", void 0, "datasets", null, "compareVersion", (function () {
var $lzsc$temp = function (ver_$0, over_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["ver", ver_$0, "over", over_$1];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/views/LaszloCanvas.lzs";
$9.lineno = 480;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
switch (arguments.length) {
case 1:
over_$1 = null
};
if (over_$1 == null) {
over_$1 = this.lpsversion
};
if (ver_$0 == over_$1) return 0;
var ver1_$2 = ($9.lineno = 488, ver_$0.split("."));
var ver2_$3 = ($9.lineno = 489, over_$1.split("."));
var i_$4 = 0;
while (i_$4 < ver1_$2.length || i_$4 < ver2_$3.length) {
var my_$5 = ($9.lineno = 493, Number(ver1_$2[i_$4])) || 0;
var oth_$6 = ($9.lineno = 494, Number(ver2_$3[i_$4++])) || 0;
if (my_$5 < oth_$6) {
return -1
} else if (my_$5 > oth_$6) {
return 1
}};
return 0
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "compareVersion";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 480;
return $lzsc$temp
})(), "$lzc$set_resource", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 509;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 511, Debug.error("You cannot set a resource on the canvas.")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_resource";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 509;
return $lzsc$temp
})(), "$lzc$set_focustrap", (function () {
var $lzsc$temp = function (istrapped_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["istrapped", istrapped_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 518;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 519, lz.Keys.setGlobalFocusTrap(istrapped_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_focustrap";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 518;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloCanvas.lzs";
$2.lineno = 525;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "This is the canvas"
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 525;
return $lzsc$temp
})(), "$lzc$set_framerate", (function () {
var $lzsc$temp = function (fps_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fps", fps_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 532;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
fps_$0 *= 1;
if (fps_$0 < 1) {
fps_$0 = 1
} else if (fps_$0 > 1000) {
fps_$0 = 1000
};
this.framerate = fps_$0;
$3.lineno = 540, lz.Idle.setFrameRate(fps_$0);
if (this.onframerate.ready) $3.lineno = 541, this.onframerate.sendEvent(fps_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_framerate";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 532;
return $lzsc$temp
})(), "$lzc$set_fullscreen", (function () {
var $lzsc$temp = function (fullscreen_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fullscreen", fullscreen_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 548;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
fullscreen_$0 = true
};
if (this.sprite.capabilities.allowfullscreen == true) {
$3.lineno = 550, LzScreenKernel.showFullScreen(fullscreen_$0)
} else {
$3.lineno = 552, LzView.__warnCapability("canvas.setAttribute('fullscreen', " + fullscreen_$0 + ")")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_fullscreen";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 548;
return $lzsc$temp
})(), "__fullscreenEventCallback", (function () {
var $lzsc$temp = function (result_$0, isFullscreen_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["result", result_$0, "isFullscreen", isFullscreen_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloCanvas.lzs";
$4.lineno = 563;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.fullscreen = isFullscreen_$1;
$4.lineno = 566, this.onfullscreen.sendEvent(result_$0)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__fullscreenEventCallback";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 563;
return $lzsc$temp
})(), "__fullscreenErrorCallback", (function () {
var $lzsc$temp = function (errorMessage_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["errorMessage", errorMessage_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloCanvas.lzs";
$4.lineno = 573;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.allowfullscreen == false) {
$4.lineno = 576, Debug.error('Please set <canvas allowfullscreen="true" /> for fullscreen support')
} else {
var message_$1 = "Usage of fullscreen feature is supported starting with Flash Player 9.0.28 (Windows & OS X) and 9.0.115.0 (Linux).\n" + "You are currently using Flash Player " + ($4.lineno = 579, lz.Browser.getVersion());
if (errorMessage_$0 != null) {
message_$1 = "Flash Player Security Error " + errorMessage_$0 + "\n" + message_$1
};
$4.lineno = 584, Debug.error(message_$1);
$4.lineno = 586, Debug.error("Check your SWF embed code for missing param tag " + '<param name="allowFullScreen" value="true" /> inside the <object> tag,\n or ' + 'missing attribute allowFullScreen="true" in <embed> tag.\n' + 'canvas.setAttribute("fullscreen", true) can be called only in response to a mouse click or keypress.\n')
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__fullscreenErrorCallback";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 573;
return $lzsc$temp
})(), "$lzc$set_allowfullscreen", (function () {
var $lzsc$temp = function (fs_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fs", fs_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 598;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.allowfullscreen = fs_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_allowfullscreen";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 598;
return $lzsc$temp
})(), "initDone", (function () {
var $lzsc$temp = function () {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = [];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/views/LaszloCanvas.lzs";
$8.lineno = 606;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var sva_$0 = [];
var svb_$1 = [];
var isv_$2 = this._lzinitialsubviews;
for (var i_$3 = 0, len_$4 = isv_$2.length;i_$3 < len_$4;++i_$3) {
var isi_$5 = isv_$2[i_$3];
if (isi_$5["attrs"] && isi_$5.attrs["initimmediate"]) {
$8.lineno = 615, sva_$0.push(isi_$5)
} else {
$8.lineno = 617, svb_$1.push(isi_$5)
}};
$8.lineno = 620, sva_$0.push.apply(sva_$0, svb_$1);
this._lzinitialsubviews = [];
$8.lineno = 625, lz.Instantiator.requestInstantiation(this, sva_$0)
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "initDone";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 606;
return $lzsc$temp
})(), "init", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloCanvas.lzs";
$2.lineno = 632;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 634, this.sprite.init(true);
if (this.history == true) {
$2.lineno = 639, lz.History.__start(this.id)
};
if (this.contextmenu == null) {
$2.lineno = 643, this.buildDefaultMenu()
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "init";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 632;
return $lzsc$temp
})(), "deferInit", true, "__LZinstantiationDone", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloCanvas.lzs";
$2.lineno = 655;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.__LZinstantiated = true;
if (this.deferInit) {
this.deferInit = false;
return
};
this.percentcreated = 1;
this.updatePercentCreatedEnabled = false;
if (this.onpercentcreated.ready) $2.lineno = 665, this.onpercentcreated.sendEvent(this.percentcreated);
$2.lineno = 666, lz.Instantiator.resume();
$2.lineno = 667, this.__LZcallInit()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__LZinstantiationDone";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 655;
return $lzsc$temp
})(), "updatePercentCreated", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloCanvas.lzs";
$2.lineno = 673;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.percentcreated = ($2.lineno = 674, Math.max(this.percentcreated, this.creatednodes / this.totalnodes));
this.percentcreated = ($2.lineno = 676, Math.min(0.99, this.percentcreated));
if (this.onpercentcreated.ready) $2.lineno = 677, this.onpercentcreated.sendEvent(this.percentcreated)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "updatePercentCreated";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 673;
return $lzsc$temp
})(), "initiatorAddNode", (function () {
var $lzsc$temp = function (e_$0, n_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["e", e_$0, "n", n_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloCanvas.lzs";
$4.lineno = 683;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.totalnodes += n_$1;
$4.lineno = 685, this._lzinitialsubviews.push(e_$0)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "initiatorAddNode";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 683;
return $lzsc$temp
})(), "__LZcallInit", (function () {
var $lzsc$temp = function (an_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["an", an_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/views/LaszloCanvas.lzs";
$7.lineno = 693;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
switch (arguments.length) {
case 0:
an_$0 = null
};
if (this.isinited) return;
this.isinited = true;
$7.lineno = 701, this.__LZresolveReferences();
var sl_$1 = this.subnodes;
if (sl_$1) {
for (var i_$2 = 0;i_$2 < sl_$1.length;) {
var s_$3 = sl_$1[i_$2++];
var t_$4 = sl_$1[i_$2];
if (s_$3.isinited || !s_$3.__LZinstantiated) continue;
$7.lineno = 712, s_$3.__LZcallInit();
if (t_$4 != sl_$1[i_$2]) {
while (i_$2 > 0) {
if (t_$4 == sl_$1[--i_$2]) break
}}}};
if (this.__LZsourceLocation) {
LzNode.sourceLocatorTable[this.__LZsourceLocation] = this
};
$7.lineno = 734, this.init();
if (this.oninit.ready) $7.lineno = 736, this.oninit.sendEvent(this);
if (this.onafterinit.ready) $7.lineno = 737, this.onafterinit.sendEvent(this);
if (this.datapath && this.datapath.__LZApplyDataOnInit) {
$7.lineno = 739, this.datapath.__LZApplyDataOnInit()
};
this.inited = true;
if (this.oninited.ready) {
$7.lineno = 745, this.oninited.sendEvent(true)
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "__LZcallInit";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 693;
return $lzsc$temp
})(), "isProxied", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/views/LaszloCanvas.lzs";
$2.lineno = 761;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.proxied
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "isProxied";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 761;
return $lzsc$temp
})(), "$lzc$set_width", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 771;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 772, LzSprite.setRootWidth(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_width";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 771;
return $lzsc$temp
})(), "$lzc$set_x", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 781;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 782, LzSprite.setRootX(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_x";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 781;
return $lzsc$temp
})(), "$lzc$set_height", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 791;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 792, LzSprite.setRootHeight(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_height";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 791;
return $lzsc$temp
})(), "$lzc$set_y", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 801;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 802, LzSprite.setRootY(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_y";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 801;
return $lzsc$temp
})(), "setDefaultContextMenu", (function () {
var $lzsc$temp = function (cmenu_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["cmenu", cmenu_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 809;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 810, this.$lzc$set_contextmenu(cmenu_$0);
$3.lineno = 811, this.sprite.setDefaultContextMenu(cmenu_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setDefaultContextMenu";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 809;
return $lzsc$temp
})(), "buildDefaultMenu", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloCanvas.lzs";
$4.lineno = 818;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.__LZDefaultCanvasMenu = ($4.lineno = 819, new LzContextMenu());
$4.lineno = 820, this.__LZDefaultCanvasMenu.hideBuiltInItems();
var defaultMenuItem_$0 = ($4.lineno = 822, new LzContextMenuItem("About OpenLaszlo...", ($4.lineno = 823, new LzDelegate(this, "__LZdefaultMenuItemHandler"))));
$4.lineno = 824, this.__LZDefaultCanvasMenu.addItem(defaultMenuItem_$0);
if (this.proxied) {
var viewSourceMenuItem_$1 = ($4.lineno = 827, new LzContextMenuItem("View Source", ($4.lineno = 828, new LzDelegate(this, "__LZviewSourceMenuItemHandler"))));
$4.lineno = 829, this.__LZDefaultCanvasMenu.addItem(viewSourceMenuItem_$1)
};
$4.lineno = 833, this.setDefaultContextMenu(this.__LZDefaultCanvasMenu)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "buildDefaultMenu";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 818;
return $lzsc$temp
})(), "__LZdefaultMenuItemHandler", (function () {
var $lzsc$temp = function (item_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["item", item_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 839;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 841, lz.Browser.loadURL("http://www.openlaszlo.org", "lz_about")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZdefaultMenuItemHandler";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 839;
return $lzsc$temp
})(), "__LZviewSourceMenuItemHandler", (function () {
var $lzsc$temp = function (item_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["item", item_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloCanvas.lzs";
$4.lineno = 847;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var url_$1 = ($4.lineno = 850, lz.Browser.getBaseURL()) + "?lzt=source";
$4.lineno = 851, lz.Browser.loadURL(url_$1, "lz_source")
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZviewSourceMenuItemHandler";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 847;
return $lzsc$temp
})(), "__windowResize", (function () {
var $lzsc$temp = function (size_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["size", size_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/views/LaszloCanvas.lzs";
$3.lineno = 883;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.width = size_$0.width;
if (this.onwidth.ready) $3.lineno = 885, this.onwidth.sendEvent(this.width);
$3.lineno = 886, this.sprite.setWidth(this.width);
this.height = size_$0.height;
if (this.onheight.ready) $3.lineno = 889, this.onheight.sendEvent(this.height);
$3.lineno = 890, this.sprite.setHeight(this.height)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__windowResize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 883;
return $lzsc$temp
})(), "LzInstantiateView", (function () {
var $lzsc$temp = function (e_$0, tn_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["e", e_$0, "tn", tn_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/views/LaszloCanvas.lzs";
$4.lineno = 898;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
tn_$1 = 1
};
$4.lineno = 899, canvas.initiatorAddNode(e_$0, tn_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "LzInstantiateView";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 898;
return $lzsc$temp
})(), "lzAddLocalData", (function () {
var $lzsc$temp = function (name_$0, d_$1, trimwhitespace_$2, nsprefix_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["name", name_$0, "d", d_$1, "trimwhitespace", trimwhitespace_$2, "nsprefix", nsprefix_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LaszloCanvas.lzs";
$6.lineno = 903;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 3:
nsprefix_$3 = false
};
return $6.lineno = 904, new LzDataset(canvas, {name: name_$0, initialdata: d_$1, trimwhitespace: trimwhitespace_$2, nsprefix: nsprefix_$3})
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "lzAddLocalData";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 903;
return $lzsc$temp
})()], ["tagname", "canvas", "attributes", new LzInheritedHash(LzView.attributes), "versionInfoString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2.filename = "lfc/views/LaszloCanvas.lzs";
$2.lineno = 858;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "URL: " + ($2.lineno = 860, lz.Browser.getLoadURL()) + "\n" + "LPS\n" + "  Version: " + canvas.lpsversion + "\n" + "  Release: " + canvas.lpsrelease + "\n" + "  Build: " + canvas.lpsbuild + "\n" + "  Date: " + canvas.lpsbuilddate + "\n" + "Application\n" + "  Date: " + canvas.appbuilddate + "\n" + "Target: " + canvas.runtime + "\n" + "Runtime: " + ($2.lineno = 869, lz.Browser.getVersion()) + "\n" + "OS: " + ($2.lineno = 870, lz.Browser.getOS()) + "\n"
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "versionInfoString";
$lzsc$temp["_dbg_filename"] = "lfc/views/LaszloCanvas.lzs";
$lzsc$temp["_dbg_lineno"] = 858;
return $lzsc$temp
})()]);
lz[LzCanvas.tagname] = LzCanvas;
var canvas;
Class.make("LzScript", LzNode, ["src", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/views/LzScript.lzs";
$6.lineno = 92;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 93, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3);
$6.lineno = 94, attrs_$1.script()
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/views/LzScript.lzs";
$lzsc$temp["_dbg_lineno"] = 92;
return $lzsc$temp
})()], ["tagname", "script", "attributes", new LzInheritedHash(LzNode.attributes)]);
lz[LzScript.tagname] = LzScript;
Class.make("LzAnimatorGroup", LzNode, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$6.lineno = 47;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 48, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 47;
return $lzsc$temp
})(), "updateDel", void 0, "crepeat", void 0, "startTime", void 0, "__LZpauseTime", void 0, "actAnim", void 0, "notstarted", void 0, "needsrestart", void 0, "attribute", void 0, "start", true, "from", void 0, "to", void 0, "duration", void 0, "indirect", false, "relative", false, "motion", "easeboth", "repeat", 1, "$lzc$set_repeat", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$3.lineno = 150;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (val_$0 <= 0) {
$3.lineno = 156, Debug.info("%w.%s: value was <= 0, use Infinity instead", this, arguments.callee);
val_$0 = Infinity
};
this.repeat = val_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_repeat";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 150;
return $lzsc$temp
})(), "paused", false, "$lzc$set_paused", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$3.lineno = 176;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 177, this.pause(val_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_paused";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 176;
return $lzsc$temp
})(), "started", void 0, "target", void 0, "process", "sequential", "isactive", false, "ontarget", LzDeclaredEvent, "onduration", LzDeclaredEvent, "onstarted", LzDeclaredEvent, "onstart", LzDeclaredEvent, "onpaused", LzDeclaredEvent, "onstop", LzDeclaredEvent, "onrepeat", LzDeclaredEvent, "animatorProps", {attribute: true, from: true, duration: true, to: true, relative: true, target: true}, "construct", (function () {
var $lzsc$temp = function (parent_$0, args_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "args", args_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$6.lineno = 258;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($6.lineno = 259, this.nextMethod(arguments.callee, "construct"))).call(this, parent_$0, args_$1);
var ip_$2 = this.immediateparent;
if (LzAnimatorGroup["$lzsc$isa"] ? ($6.lineno = 262, LzAnimatorGroup.$lzsc$isa(ip_$2)) : ip_$2 instanceof LzAnimatorGroup) {
for (var k_$3 in this.animatorProps) {
if (args_$1[k_$3] == null) {
args_$1[k_$3] = ip_$2[k_$3]
}};
if (ip_$2.animators == null) {
ip_$2.animators = [this]
} else {
$6.lineno = 273, ip_$2.animators.push(this)
};
args_$1.start = LzNode._ignoreAttribute
} else {
this.target = ip_$2
};
if (!this.updateDel) this.updateDel = ($6.lineno = 281, new LzDelegate(this, "update"))
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 258;
return $lzsc$temp
})(), "init", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$2.lineno = 287;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.target) this.target = this.immediateparent;
if (this.started) $2.lineno = 289, this.doStart();
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["init"] || ($2.lineno = 290, this.nextMethod(arguments.callee, "init"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "init";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 287;
return $lzsc$temp
})(), "$lzc$set_target", (function () {
var $lzsc$temp = function (new_target_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["new_target", new_target_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$5.lineno = 297;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
this.target = new_target_$0;
var nodes_$1 = this.subnodes;
if (nodes_$1) {
for (var i_$2 = 0;i_$2 < nodes_$1.length;i_$2++) {
if (LzAnimatorGroup["$lzsc$isa"] ? ($5.lineno = 302, LzAnimatorGroup.$lzsc$isa(nodes_$1[i_$2])) : nodes_$1[i_$2] instanceof LzAnimatorGroup) {
$5.lineno = 303, nodes_$1[i_$2].$lzc$set_target(new_target_$0)
}}};
if (this.ontarget.ready) $5.lineno = 307, this.ontarget.sendEvent(new_target_$0)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_target";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 297;
return $lzsc$temp
})(), "setTarget", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$3.lineno = 313;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 315, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 317, this.$lzc$set_target(n_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setTarget";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 313;
return $lzsc$temp
})(), "$lzc$set_start", (function () {
var $lzsc$temp = function (start_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["start", start_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$3.lineno = 324;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.started = start_$0;
if (this.onstarted.ready) $3.lineno = 326, this.onstarted.sendEvent(start_$0);
if (!this.isinited) {
return
};
if (start_$0) {
$3.lineno = 332, this.doStart()
} else {
$3.lineno = 334, this.stop()
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_start";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 324;
return $lzsc$temp
})(), "doStart", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$2.lineno = 342;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.isactive) return false;
if (this.onstart.ready) $2.lineno = 349, this.onstart.sendEvent(($2.lineno = 349, ($2.lineno = 349, new Date()).getTime()));
this.isactive = true;
$2.lineno = 354, this.prepareStart();
$2.lineno = 355, this.updateDel.register(lz.Idle, "onidle");
return true
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "doStart";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 342;
return $lzsc$temp
})(), "prepareStart", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$3.lineno = 362;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.crepeat = this.repeat;
for (var i_$0 = this.animators.length - 1;i_$0 >= 0;i_$0--) {
this.animators[i_$0].notstarted = true
};
this.actAnim = ($3.lineno = 369, this.animators.concat())
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "prepareStart";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 362;
return $lzsc$temp
})(), "resetAnimator", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$3.lineno = 375;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.actAnim = ($3.lineno = 376, this.animators.concat());
for (var i_$0 = this.animators.length - 1;i_$0 >= 0;i_$0--) {
this.animators[i_$0].needsrestart = true
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "resetAnimator";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 375;
return $lzsc$temp
})(), "update", (function () {
var $lzsc$temp = function (time_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["time", time_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$6.lineno = 397;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (this.paused) {
return false
};
var animend_$1 = this.actAnim.length - 1;
if (animend_$1 > 0 && this.process == "sequential") animend_$1 = 0;
for (var i_$2 = animend_$1;i_$2 >= 0;i_$2--) {
var a_$3 = this.actAnim[i_$2];
if (a_$3.notstarted) {
a_$3.isactive = true;
$6.lineno = 410, a_$3.prepareStart();
a_$3.notstarted = false
} else if (a_$3.needsrestart) {
$6.lineno = 413, a_$3.resetAnimator();
a_$3.needsrestart = false
};
if ($6.lineno = 417, a_$3.update(time_$0)) {
$6.lineno = 419, this.actAnim.splice(i_$2, 1)
}};
if (!this.actAnim.length) {
return $6.lineno = 424, this.checkRepeat()
};
return false
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "update";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 397;
return $lzsc$temp
})(), "pause", (function () {
var $lzsc$temp = function (dop_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["dop", dop_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$3.lineno = 434;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
dop_$0 = null
};
if (dop_$0 == null) {
dop_$0 = !this.paused
};
if (this.paused && !dop_$0) {
$3.lineno = 440, this.__LZaddToStartTime(($3.lineno = 440, ($3.lineno = 440, new Date()).getTime()) - this.__LZpauseTime)
} else if (!this.paused && dop_$0) {
this.__LZpauseTime = ($3.lineno = 442, ($3.lineno = 442, new Date()).getTime())
};
this.paused = dop_$0;
if (this.onpaused.ready) $3.lineno = 446, this.onpaused.sendEvent(dop_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "pause";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 434;
return $lzsc$temp
})(), "__LZaddToStartTime", (function () {
var $lzsc$temp = function (ptime_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["ptime", ptime_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$4.lineno = 452;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.startTime += ptime_$0;
if (this.actAnim) {
for (var i_$1 = 0;i_$1 < this.actAnim.length;i_$1++) {
$4.lineno = 456, this.actAnim[i_$1].__LZaddToStartTime(ptime_$0)
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZaddToStartTime";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 452;
return $lzsc$temp
})(), "stop", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$4.lineno = 465;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.actAnim) {
var animend_$0 = this.actAnim.length - 1;
if (animend_$0 > 0 && this.process == "sequential") animend_$0 = 0;
for (var i_$1 = animend_$0;i_$1 >= 0;i_$1--) {
$4.lineno = 473, this.actAnim[i_$1].stop()
}};
$4.lineno = 477, this.__LZhalt()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "stop";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 465;
return $lzsc$temp
})(), "setDuration", (function () {
var $lzsc$temp = function (duration_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["duration", duration_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$3.lineno = 483;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 485, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 487, this.$lzc$set_duration(duration_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setDuration";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 483;
return $lzsc$temp
})(), "$lzc$set_duration", (function () {
var $lzsc$temp = function (duration_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["duration", duration_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$5.lineno = 491;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if ($5.lineno = 492, isNaN(duration_$0)) {
duration_$0 = 0
} else {
duration_$0 = ($5.lineno = 495, Number(duration_$0))
};
this.duration = duration_$0;
var sn_$1 = this.subnodes;
if (sn_$1) {
for (var i_$2 = 0;i_$2 < sn_$1.length;++i_$2) {
if (LzAnimatorGroup["$lzsc$isa"] ? ($5.lineno = 501, LzAnimatorGroup.$lzsc$isa(sn_$1[i_$2])) : sn_$1[i_$2] instanceof LzAnimatorGroup) {
$5.lineno = 502, sn_$1[i_$2].$lzc$set_duration(duration_$0)
}}};
$5.lineno = 506, this.onduration.sendEvent(duration_$0)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_duration";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 491;
return $lzsc$temp
})(), "__LZfinalizeAnim", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$2.lineno = 512;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 513, this.__LZhalt()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__LZfinalizeAnim";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 512;
return $lzsc$temp
})(), "__LZhalt", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$2.lineno = 519;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.isactive = false;
$2.lineno = 522, this.updateDel.unregisterAll();
if (this.onstop.ready) $2.lineno = 523, this.onstop.sendEvent(($2.lineno = 523, ($2.lineno = 523, new Date()).getTime()))
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__LZhalt";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 519;
return $lzsc$temp
})(), "checkRepeat", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$2.lineno = 529;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.crepeat == 1) {
$2.lineno = 531, this.__LZfinalizeAnim();
return true
} else {
this.crepeat--;
if (this.onrepeat.ready) $2.lineno = 535, this.onrepeat.sendEvent(($2.lineno = 535, ($2.lineno = 535, new Date()).getTime()));
$2.lineno = 537, this.resetAnimator();
return false
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "checkRepeat";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 529;
return $lzsc$temp
})(), "destroy", (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$6.lineno = 545;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
$6.lineno = 546, this.stop();
$6.lineno = 547, this.updateDel.unregisterAll();
this.animators = null;
this.actAnim = null;
var ip_$0 = this.immediateparent;
var parAnim_$1 = ip_$0.animators;
if (parAnim_$1 && parAnim_$1.length) {
for (var i_$2 = 0;i_$2 < parAnim_$1.length;i_$2++) {
if (parAnim_$1[i_$2] == this) {
$6.lineno = 556, parAnim_$1.splice(i_$2, 1);
break
}};
if (LzAnimatorGroup["$lzsc$isa"] ? ($6.lineno = 561, LzAnimatorGroup.$lzsc$isa(ip_$0)) : ip_$0 instanceof LzAnimatorGroup) {
var activeAnim_$3 = ip_$0.actAnim;
if (activeAnim_$3 && activeAnim_$3.length) {
for (var i_$2 = 0;i_$2 < activeAnim_$3.length;i_$2++) {
if (activeAnim_$3[i_$2] == this) {
$6.lineno = 566, activeAnim_$3.splice(i_$2, 1);
break
}}}}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["destroy"] || ($6.lineno = 574, this.nextMethod(arguments.callee, "destroy"))).call(this)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 545;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$2.lineno = 580;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.animators) {
return "Group of " + this.animators.length
};
return "Empty group"
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 580;
return $lzsc$temp
})()], ["tagname", "animatorgroup", "attributes", new LzInheritedHash(LzNode.attributes)]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LzAnimatorGroup.lzs";
$3.lineno = 44;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzAnimatorGroup.attributes.start = true;
LzAnimatorGroup.attributes.ignoreplacement = true
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "controllers/LzAnimatorGroup.lzs#44/1";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LzAnimatorGroup.lzs";
$lzsc$temp["_dbg_lineno"] = 44;
return $lzsc$temp
})()(LzAnimatorGroup);
lz[LzAnimatorGroup.tagname] = LzAnimatorGroup;
Class.make("LzAnimator", LzAnimatorGroup, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/controllers/LaszloAnimation.lzs";
$6.lineno = 36;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 37, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 36;
return $lzsc$temp
})(), "calcMethod", void 0, "lastIterationTime", void 0, "currentValue", void 0, "doBegin", void 0, "beginPoleDelta", 0.25, "endPoleDelta", 0.25, "primary_K", void 0, "origto", void 0, "construct", (function () {
var $lzsc$temp = function (parent_$0, args_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["parent", parent_$0, "args", args_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/controllers/LaszloAnimation.lzs";
$4.lineno = 67;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($4.lineno = 68, this.nextMethod(arguments.callee, "construct"))).call(this, parent_$0, args_$1);
this.calcMethod = this.calcNextValue;
this.primary_K = 1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 67;
return $lzsc$temp
})(), "$lzc$set_motion", (function () {
var $lzsc$temp = function (eparam_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["eparam", eparam_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LaszloAnimation.lzs";
$3.lineno = 80;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.motion = eparam_$0;
if (eparam_$0 == "linear") {
this.calcMethod = this.calcNextValueLinear
} else {
this.calcMethod = this.calcNextValue;
if (eparam_$0 == "easeout") {
this.beginPoleDelta = 100
} else if (eparam_$0 == "easein") {
this.endPoleDelta = 15
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_motion";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 80;
return $lzsc$temp
})(), "setMotion", (function () {
var $lzsc$temp = function (eparam_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["eparam", eparam_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LaszloAnimation.lzs";
$3.lineno = 100;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 102, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 104, this.$lzc$set_motion(eparam_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setMotion";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 100;
return $lzsc$temp
})(), "$lzc$set_to", (function () {
var $lzsc$temp = function (eparam_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["eparam", eparam_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LaszloAnimation.lzs";
$3.lineno = 112;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.origto = ($3.lineno = 113, Number(eparam_$0))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_to";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 112;
return $lzsc$temp
})(), "setTo", (function () {
var $lzsc$temp = function (eparam_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["eparam", eparam_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LaszloAnimation.lzs";
$3.lineno = 121;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 123, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 125, this.$lzc$set_to(eparam_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setTo";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 121;
return $lzsc$temp
})(), "calcControlValues", (function () {
var $lzsc$temp = function (cval_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["cval", cval_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/controllers/LaszloAnimation.lzs";
$6.lineno = 134;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
cval_$0 = null
};
this.currentValue = cval_$0 || 0;
var dir_$1 = this.indirect ? -1 : 1;
if (this.currentValue < this.to) {
this.beginPole = this.currentValue - dir_$1 * this.beginPoleDelta;
this.endPole = this.to + dir_$1 * this.endPoleDelta
} else {
this.beginPole = this.currentValue + dir_$1 * this.beginPoleDelta;
this.endPole = this.to - dir_$1 * this.endPoleDelta
};
this.primary_K = 1;
var kN_$2 = 1 * (this.beginPole - this.to) * (this.currentValue - this.endPole);
var kD_$3 = 1 * (this.beginPole - this.currentValue) * (this.to - this.endPole);
if (kD_$3 != 0) this.primary_K = ($6.lineno = 164, Math.abs(kN_$2 / kD_$3))
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "calcControlValues";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 134;
return $lzsc$temp
})(), "doStart", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/controllers/LaszloAnimation.lzs";
$2.lineno = 178;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.isactive) return;
this.isactive = true;
$2.lineno = 182, this.prepareStart();
$2.lineno = 185, this.updateDel.register(lz.Idle, "onidle")
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "doStart";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 178;
return $lzsc$temp
})(), "prepareStart", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/controllers/LaszloAnimation.lzs";
$4.lineno = 191;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.crepeat = this.repeat;
var targ_$0 = this.target;
var attr_$1 = this.attribute;
if (this.from != null) {
{
var $lzsc$737539123 = Number(this.from);
if (!targ_$0.__LZdeleted) {
var $lzsc$408335519 = "$lzc$set_" + attr_$1;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(targ_$0[$lzsc$408335519]) : targ_$0[$lzsc$408335519] instanceof Function) {
targ_$0[$lzsc$408335519]($lzsc$737539123)
} else {
targ_$0[attr_$1] = $lzsc$737539123;
var $lzsc$2051144437 = targ_$0["on" + attr_$1];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$2051144437) : $lzsc$2051144437 instanceof LzEvent) {
if ($lzsc$2051144437.ready) {
$lzsc$2051144437.sendEvent($lzsc$737539123)
}}}}}};
if (this.relative) {
this.to = this.origto
} else {
this.to = this.origto - ($4.lineno = 207, targ_$0.getExpectedAttribute(attr_$1))
};
$4.lineno = 215, targ_$0.addToExpectedAttribute(attr_$1, this.to);
$4.lineno = 220, targ_$0.__LZincrementCounter(attr_$1);
this.currentValue = 0;
$4.lineno = 226, this.calcControlValues();
this.doBegin = true
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "prepareStart";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 191;
return $lzsc$temp
})(), "resetAnimator", (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/controllers/LaszloAnimation.lzs";
$6.lineno = 235;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var targ_$0 = this.target;
var attr_$1 = this.attribute;
var from_$2 = this.from;
if (from_$2 != null) {
{
if (!targ_$0.__LZdeleted) {
var $lzsc$1346182578 = "$lzc$set_" + attr_$1;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(targ_$0[$lzsc$1346182578]) : targ_$0[$lzsc$1346182578] instanceof Function) {
targ_$0[$lzsc$1346182578](from_$2)
} else {
targ_$0[attr_$1] = from_$2;
var $lzsc$961562094 = targ_$0["on" + attr_$1];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$961562094) : $lzsc$961562094 instanceof LzEvent) {
if ($lzsc$961562094.ready) {
$lzsc$961562094.sendEvent(from_$2)
}}}}};
var d_$3 = from_$2 - ($6.lineno = 244, targ_$0.getExpectedAttribute(attr_$1));
$6.lineno = 245, targ_$0.addToExpectedAttribute(attr_$1, d_$3)
};
if (!this.relative) {
this.to = this.origto - ($6.lineno = 249, targ_$0.getExpectedAttribute(attr_$1));
$6.lineno = 251, this.calcControlValues()
};
$6.lineno = 256, targ_$0.addToExpectedAttribute(attr_$1, this.to);
$6.lineno = 257, targ_$0.__LZincrementCounter(attr_$1);
this.currentValue = 0;
this.doBegin = true
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "resetAnimator";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 235;
return $lzsc$temp
})(), "beginAnimator", (function () {
var $lzsc$temp = function (time_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["time", time_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LaszloAnimation.lzs";
$3.lineno = 273;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.startTime = time_$0;
this.lastIterationTime = time_$0;
if (this.onstart.ready) $3.lineno = 278, this.onstart.sendEvent(time_$0);
this.doBegin = false
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "beginAnimator";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 273;
return $lzsc$temp
})(), "stop", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/controllers/LaszloAnimation.lzs";
$4.lineno = 287;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (!this.isactive) return;
var targ_$0 = this.target;
var e_prop_$1 = "e_" + this.attribute;
if (!targ_$0[e_prop_$1].c) {
targ_$0[e_prop_$1].c = 0
};
targ_$0[e_prop_$1].c -= 1;
if (targ_$0[e_prop_$1].c <= 0) {
targ_$0[e_prop_$1].c = 0;
targ_$0[e_prop_$1].v = null
} else {
targ_$0[e_prop_$1].v -= this.to - this.currentValue
};
$4.lineno = 303, this.__LZhalt()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "stop";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 287;
return $lzsc$temp
})(), "__LZfinalizeAnim", (function () {
var $lzsc$temp = function () {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = [];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/controllers/LaszloAnimation.lzs";
$5.lineno = 309;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var targ_$0 = this.target;
var attr_$1 = this.attribute;
var e_prop_$2 = "e_" + attr_$1;
if (!targ_$0[e_prop_$2].c) {
targ_$0[e_prop_$2].c = 0
};
targ_$0[e_prop_$2].c -= 1;
if (targ_$0[e_prop_$2].c <= 0) {
targ_$0[e_prop_$2].c = 0;
{
var $lzsc$1134404600 = targ_$0[e_prop_$2].v;
if (!targ_$0.__LZdeleted) {
var $lzsc$251958501 = "$lzc$set_" + attr_$1;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(targ_$0[$lzsc$251958501]) : targ_$0[$lzsc$251958501] instanceof Function) {
targ_$0[$lzsc$251958501]($lzsc$1134404600)
} else {
targ_$0[attr_$1] = $lzsc$1134404600;
var $lzsc$322510936 = targ_$0["on" + attr_$1];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$322510936) : $lzsc$322510936 instanceof LzEvent) {
if ($lzsc$322510936.ready) {
$lzsc$322510936.sendEvent($lzsc$1134404600)
}}}}};
targ_$0[e_prop_$2].v = null
};
$5.lineno = 323, this.__LZhalt()
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZfinalizeAnim";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 309;
return $lzsc$temp
})(), "calcNextValue", (function () {
var $lzsc$temp = function (timeDifference_$0) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["timeDifference", timeDifference_$0];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/controllers/LaszloAnimation.lzs";
$9.lineno = 337;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var nextValue_$1 = this.currentValue;
var aEndPole_$2 = this.endPole;
var aBeginPole_$3 = this.beginPole;
var K_$4 = ($9.lineno = 346, Math.exp(timeDifference_$0 * 1 / this.duration * ($9.lineno = 346, Math.log(this.primary_K))));
if (K_$4 != 1) {
var aNumerator_$5 = aBeginPole_$3 * aEndPole_$2 * (1 - K_$4);
var aDenominator_$6 = aEndPole_$2 - K_$4 * aBeginPole_$3;
if (aDenominator_$6 != 0) nextValue_$1 = aNumerator_$5 / aDenominator_$6
};
return nextValue_$1
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "calcNextValue";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 337;
return $lzsc$temp
})(), "calcNextValueLinear", (function () {
var $lzsc$temp = function (timeDifference_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["timeDifference", timeDifference_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/controllers/LaszloAnimation.lzs";
$4.lineno = 363;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var elapsed_$1 = timeDifference_$0 / this.duration;
return elapsed_$1 * this.to
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "calcNextValueLinear";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 363;
return $lzsc$temp
})(), "update", (function () {
var $lzsc$temp = function (time_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["time", time_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/controllers/LaszloAnimation.lzs";
$4.lineno = 381;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.doBegin) {
$4.lineno = 387, this.beginAnimator(time_$0)
} else {
if (!this.paused) {
var aTotalTimeDifference_$1 = time_$0 - this.startTime;
if (aTotalTimeDifference_$1 < this.duration) {
$4.lineno = 392, this.setValue(($4.lineno = 392, this.calcMethod(aTotalTimeDifference_$1)));
this.lastIterationTime = time_$0
} else {
$4.lineno = 395, this.setValue(this.to);
return $4.lineno = 396, this.checkRepeat()
}}};
return false
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "update";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 381;
return $lzsc$temp
})(), "setValue", (function () {
var $lzsc$temp = function (value_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["value", value_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/controllers/LaszloAnimation.lzs";
$6.lineno = 410;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var targ_$1 = this.target;
var attr_$2 = this.attribute;
var aDiff_$3 = value_$0 - this.currentValue;
{
var $lzsc$1318878872 = targ_$1[attr_$2] + aDiff_$3;
if (!targ_$1.__LZdeleted) {
var $lzsc$2010838135 = "$lzc$set_" + attr_$2;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(targ_$1[$lzsc$2010838135]) : targ_$1[$lzsc$2010838135] instanceof Function) {
targ_$1[$lzsc$2010838135]($lzsc$1318878872)
} else {
targ_$1[attr_$2] = $lzsc$1318878872;
var $lzsc$119635243 = targ_$1["on" + attr_$2];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$119635243) : $lzsc$119635243 instanceof LzEvent) {
if ($lzsc$119635243.ready) {
$lzsc$119635243.sendEvent($lzsc$1318878872)
}}}}};
this.currentValue = value_$0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "setValue";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 410;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/controllers/LaszloAnimation.lzs";
$2.lineno = 423;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "Animator for " + this.target + " attribute:" + this.attribute + " to:" + this.to
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloAnimation.lzs";
$lzsc$temp["_dbg_lineno"] = 423;
return $lzsc$temp
})()], ["tagname", "animator", "attributes", new LzInheritedHash(LzAnimatorGroup.attributes)]);
lz[LzAnimator.tagname] = LzAnimator;
Class.make("LzLayout", LzNode, ["vip", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/controllers/LaszloLayout.lzs";
$6.lineno = 77;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 2:
children_$2 = null;;case 3:
instcall_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 78, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 77;
return $lzsc$temp
})(), "initDelegate", void 0, "locked", 2, "$lzc$set_locked", (function () {
var $lzsc$temp = function (locked_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["locked", locked_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LaszloLayout.lzs";
$3.lineno = 107;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.locked == locked_$0) return;
if (locked_$0) {
$3.lineno = 110, this.lock()
} else {
$3.lineno = 112, this.unlock()
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_locked";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 107;
return $lzsc$temp
})(), "subviews", null, "updateDelegate", void 0, "delegates", void 0, "construct", (function () {
var $lzsc$temp = function (view_$0, args_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["view", view_$0, "args", args_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/controllers/LaszloLayout.lzs";
$4.lineno = 145;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($4.lineno = 146, this.nextMethod(arguments.callee, "construct"))).apply(this, arguments);
this.subviews = ($4.lineno = 147, new Array());
this.vip = this.immediateparent;
if (this.vip.layouts == null) {
this.vip.layouts = [this]
} else {
$4.lineno = 157, this.vip.layouts.push(this)
};
this.updateDelegate = ($4.lineno = 160, new LzDelegate(this, "update"));
this.delegates = [this.updateDelegate];
if (this.immediateparent.isinited) {
$4.lineno = 166, this.__parentInit()
} else {
this.initDelegate = ($4.lineno = 168, new LzDelegate(this, "__parentInit", this.immediateparent, "oninit"));
$4.lineno = 169, this.delegates.push(this.initDelegate)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 145;
return $lzsc$temp
})(), "__LZapplyArgs", (function () {
var $lzsc$temp = function (args_$0, constcall_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["args", args_$0, "constcall", constcall_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/controllers/LaszloLayout.lzs";
$6.lineno = 177;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 1:
constcall_$1 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["__LZapplyArgs"] || ($6.lineno = 178, this.nextMethod(arguments.callee, "__LZapplyArgs"))).call(this, args_$0, constcall_$1);
if (this.__LZdeleted) {
return
};
$6.lineno = 183, this.delegates.push(($6.lineno = 183, new LzDelegate(this, "gotNewSubview", this.immediateparent, "onaddsubview")));
$6.lineno = 186, this.delegates.push(($6.lineno = 186, new LzDelegate(this, "removeSubview", this.immediateparent, "onremovesubview")));
var vsl_$2 = this.vip.subviews.length;
for (var i_$3 = 0;i_$3 < vsl_$2;i_$3++) {
$6.lineno = 192, this.gotNewSubview(this.vip.subviews[i_$3])
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "__LZapplyArgs";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 177;
return $lzsc$temp
})(), "destroy", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/controllers/LaszloLayout.lzs";
$2.lineno = 201;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 202, this.releaseLayout();
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["destroy"] || ($2.lineno = 203, this.nextMethod(arguments.callee, "destroy"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 201;
return $lzsc$temp
})(), "reset", (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LaszloLayout.lzs";
$3.lineno = 217;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
e_$0 = null
};
if (this.locked) {
return
};
$3.lineno = 220, this.update(e_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "reset";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 217;
return $lzsc$temp
})(), "addSubview", (function () {
var $lzsc$temp = function (sd_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sd", sd_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LaszloLayout.lzs";
$3.lineno = 233;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if ($3.lineno = 234, sd_$0.getOption("layoutAfter")) {
$3.lineno = 236, this.__LZinsertAfter(sd_$0, ($3.lineno = 236, sd_$0.getOption("layoutAfter")))
} else {
$3.lineno = 238, this.subviews.push(sd_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "addSubview";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 233;
return $lzsc$temp
})(), "gotNewSubview", (function () {
var $lzsc$temp = function (sd_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sd", sd_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LaszloLayout.lzs";
$3.lineno = 249;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!($3.lineno = 250, sd_$0.getOption("ignorelayout"))) {
$3.lineno = 251, this.addSubview(sd_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "gotNewSubview";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 249;
return $lzsc$temp
})(), "removeSubview", (function () {
var $lzsc$temp = function (sd_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["sd", sd_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/controllers/LaszloLayout.lzs";
$4.lineno = 261;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
for (var i_$1 = this.subviews.length - 1;i_$1 >= 0;i_$1--) {
if (this.subviews[i_$1] == sd_$0) {
$4.lineno = 264, this.subviews.splice(i_$1, 1);
break
}};
$4.lineno = 269, this.reset()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "removeSubview";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 261;
return $lzsc$temp
})(), "ignore", (function () {
var $lzsc$temp = function (s_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["s", s_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/controllers/LaszloLayout.lzs";
$4.lineno = 279;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
for (var i_$1 = this.subviews.length - 1;i_$1 >= 0;i_$1--) {
if (this.subviews[i_$1] == s_$0) {
$4.lineno = 283, this.subviews.splice(i_$1, 1);
break
}};
$4.lineno = 287, this.reset()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "ignore";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 279;
return $lzsc$temp
})(), "lock", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/controllers/LaszloLayout.lzs";
$2.lineno = 297;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.locked = true
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "lock";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 297;
return $lzsc$temp
})(), "unlock", (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LaszloLayout.lzs";
$3.lineno = 308;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
e_$0 = null
};
this.locked = false;
$3.lineno = 310, this.reset()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "unlock";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 308;
return $lzsc$temp
})(), "__parentInit", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LaszloLayout.lzs";
$3.lineno = 316;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
v_$0 = null
};
if (this.locked == 2) {
if (this.isinited) {
$3.lineno = 319, this.unlock()
} else {
$3.lineno = 321, new LzDelegate(this, "unlock", this, "oninit")
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__parentInit";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 316;
return $lzsc$temp
})(), "releaseLayout", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LaszloLayout.lzs";
$3.lineno = 330;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.delegates) {
for (var i_$0 = this.delegates.length - 1;i_$0 >= 0;i_$0--) {
$3.lineno = 333, this.delegates[i_$0].unregisterAll()
}};
if (this.immediateparent && this.vip.layouts) {
for (var i_$0 = this.vip.layouts.length - 1;i_$0 >= 0;i_$0--) {
if (this.vip.layouts[i_$0] == this) {
$3.lineno = 339, this.vip.layouts.splice(i_$0, 1)
}}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "releaseLayout";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 330;
return $lzsc$temp
})(), "setLayoutOrder", (function () {
var $lzsc$temp = function (sub1_$0, sub2_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["sub1", sub1_$0, "sub2", sub2_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/controllers/LaszloLayout.lzs";
$6.lineno = 356;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
for (var i2_$2 = this.subviews.length - 1;i2_$2 >= 0;i2_$2--) {
if (this.subviews[i2_$2] === sub2_$1) {
$6.lineno = 359, this.subviews.splice(i2_$2, 1);
break
}};
if (i2_$2 == -1) {
$6.lineno = 365, Debug.warn("second argument for setLayoutOrder() is not a subview");
return
};
if (sub1_$0 == "first") {
$6.lineno = 370, this.subviews.unshift(sub2_$1)
} else if (sub1_$0 == "last") {
$6.lineno = 372, this.subviews.push(sub2_$1)
} else {
for (var i_$3 = this.subviews.length - 1;i_$3 >= 0;i_$3--) {
if (this.subviews[i_$3] === sub1_$0) {
$6.lineno = 376, this.subviews.splice(i_$3 + 1, 0, sub2_$1);
break
}};
if (i_$3 == -1) {
if (sub1_$0 == sub2_$1) {
$6.lineno = 384, Debug.warn("%w is the same as %w", sub1_$0, sub2_$1)
} else {
$6.lineno = 386, Debug.warn("first argument for setLayoutOrder() is not a subview")
};
$6.lineno = 390, this.subviews.splice(i2_$2, 0, sub2_$1)
}};
$6.lineno = 393, this.reset();
return
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "setLayoutOrder";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 356;
return $lzsc$temp
})(), "swapSubviewOrder", (function () {
var $lzsc$temp = function (sub1_$0, sub2_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["sub1", sub1_$0, "sub2", sub2_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/controllers/LaszloLayout.lzs";
$7.lineno = 405;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var s1p_$2 = -1;
var s2p_$3 = -1;
for (var i_$4 = this.subviews.length - 1;i_$4 >= 0 && (s1p_$2 < 0 || s2p_$3 < 0);i_$4--) {
if (this.subviews[i_$4] === sub1_$0) {
s1p_$2 = i_$4
};
if (this.subviews[i_$4] === sub2_$1) {
s2p_$3 = i_$4
}};
if (s1p_$2 >= 0 && s2p_$3 >= 0) {
this.subviews[s2p_$3] = sub1_$0;
this.subviews[s1p_$2] = sub2_$1
} else {
$7.lineno = 424, Debug.warn("Invalid subviews for swapSubviewOrder()")
};
$7.lineno = 427, this.reset();
return
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "swapSubviewOrder";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 405;
return $lzsc$temp
})(), "__LZinsertAfter", (function () {
var $lzsc$temp = function (newsub_$0, oldsub_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["newsub", newsub_$0, "oldsub", oldsub_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/controllers/LaszloLayout.lzs";
$5.lineno = 434;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
for (var i_$2 = this.subviews.length - 1;i_$2 >= 0;i_$2--) {
if (this.subviews[i_$2] == oldsub_$1) {
$5.lineno = 437, this.subviews.splice(i_$2, 0, newsub_$0)
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZinsertAfter";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 434;
return $lzsc$temp
})(), "update", (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/controllers/LaszloLayout.lzs";
$3.lineno = 457;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
e_$0 = null
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "update";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 457;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/controllers/LaszloLayout.lzs";
$2.lineno = 465;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "LzLayout for view " + this.immediateparent
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/controllers/LaszloLayout.lzs";
$lzsc$temp["_dbg_lineno"] = 465;
return $lzsc$temp
})()], ["tagname", "layout", "attributes", new LzInheritedHash(LzNode.attributes)]);
lz[LzLayout.tagname] = LzLayout;
Class.make("LzFont", null, ["style", void 0, "name", void 0, "height", void 0, "ascent", void 0, "descent", void 0, "advancetable", void 0, "lsbtable", void 0, "rsbtable", void 0, "fontobject", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (fontobject_$0, attrs_$1, style_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["fontobject", fontobject_$0, "attrs", attrs_$1, "style", style_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/helpers/LzFont.lzs";
$6.lineno = 358;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 359, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.name = fontobject_$0.name;
this.style = style_$2;
this.fontobject = fontobject_$0;
fontobject_$0[style_$2] = this;
for (var k_$3 in attrs_$1) {
if (k_$3 == "leading") continue;
this[k_$3] = attrs_$1[k_$3]
};
this.height = this.ascent + this.descent;
this.advancetable[13] = this.advancetable[32];
this.advancetable[160] = 0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzFont.lzs";
$lzsc$temp["_dbg_lineno"] = 358;
return $lzsc$temp
})(), "leading", 2, "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/helpers/LzFont.lzs";
$2.lineno = 386;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "Font style " + this.style + " of name " + this.name
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzFont.lzs";
$lzsc$temp["_dbg_lineno"] = 386;
return $lzsc$temp
})()], null);
lz.Font = LzFont;
Class.make("LzSelectionManager", LzNode, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/helpers/LzSelectionManager.lzs";
$6.lineno = 81;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 82, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 81;
return $lzsc$temp
})(), "sel", "setSelected", "selectedHash", void 0, "selected", void 0, "toggle", void 0, "lastRangeStart", void 0, "construct", (function () {
var $lzsc$temp = function (parent_$0, args_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["parent", parent_$0, "args", args_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/helpers/LzSelectionManager.lzs";
$4.lineno = 126;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($4.lineno = 127, this.nextMethod(arguments.callee, "construct"))).call(this, parent_$0, args_$1);
$4.lineno = 128, this.__LZsetSelection([])
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 126;
return $lzsc$temp
})(), "destroy", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/helpers/LzSelectionManager.lzs";
$2.lineno = 132;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 133, this.__LZsetSelection([]);
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["destroy"] || ($2.lineno = 134, this.nextMethod(arguments.callee, "destroy"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 132;
return $lzsc$temp
})(), "__LZaddToSelection", (function () {
var $lzsc$temp = function (d_$0, o_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["d", d_$0, "o", o_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/helpers/LzSelectionManager.lzs";
$4.lineno = 147;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (d_$0 != null && !($4.lineno = 148, this.__LZisSelected(d_$0))) {
$4.lineno = 149, this.selected.push(d_$0);
$4.lineno = 150, this.__LZsetSelected(d_$0, o_$1, true)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZaddToSelection";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 147;
return $lzsc$temp
})(), "__LZremoveFromSelection", (function () {
var $lzsc$temp = function (d_$0, o_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["d", d_$0, "o", o_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/helpers/LzSelectionManager.lzs";
$5.lineno = 160;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var i_$2 = ($5.lineno = 161, this.__LZindexOf(d_$0));
if (i_$2 != -1) {
$5.lineno = 163, this.selected.splice(i_$2, 1);
$5.lineno = 164, this.__LZsetSelected(d_$0, o_$1, false)
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZremoveFromSelection";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 160;
return $lzsc$temp
})(), "__LZindexOf", (function () {
var $lzsc$temp = function (d_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["d", d_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/helpers/LzSelectionManager.lzs";
$5.lineno = 174;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var sela_$1 = this.selected;
for (var i_$2 = sela_$1.length - 1;i_$2 >= 0;--i_$2) {
if (sela_$1[i_$2] === d_$0) return i_$2
};
return -1
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZindexOf";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 174;
return $lzsc$temp
})(), "__LZupdateSelection", (function () {
var $lzsc$temp = function (sela_$0, unsel_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["sela", sela_$0, "unsel", unsel_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/helpers/LzSelectionManager.lzs";
$6.lineno = 190;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
$6.lineno = 191, this.__LZsetSelection(sela_$0);
for (var i_$2 = unsel_$1.length - 1;i_$2 >= 0;--i_$2) {
var d_$3 = unsel_$1[i_$2];
$6.lineno = 194, this.__LZsetSelected(d_$3, ($6.lineno = 194, this.__LZgetView(d_$3)), false)
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "__LZupdateSelection";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 190;
return $lzsc$temp
})(), "__LZselectRange", (function () {
var $lzsc$temp = function (s_$0, e_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["s", s_$0, "e", e_$1];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/helpers/LzSelectionManager.lzs";
$9.lineno = 205;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var range_$2 = ($9.lineno = 206, this.createRange(s_$0, e_$1));
if (range_$2 != null) {
var split_$3 = ($9.lineno = 208, this.__LZsplitRange(range_$2));
$9.lineno = 209, this.__LZupdateSelection(split_$3.unchanged, split_$3.removed);
this.lastRangeStart = s_$0;
var newsel_$4 = split_$3.added;
for (var i_$5 = newsel_$4.length - 1;i_$5 >= 0;--i_$5) {
var d_$6 = newsel_$4[i_$5];
$9.lineno = 214, this.__LZaddToSelection(d_$6, ($9.lineno = 214, this.__LZgetView(d_$6)))
}} else {
$9.lineno = 217, this.clearSelection();
this.lastRangeStart = s_$0
}}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "__LZselectRange";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 205;
return $lzsc$temp
})(), "__LZgetSubList", (function () {
var $lzsc$temp = function (list_$0, start_$1, end_$2) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["list", list_$0, "start", start_$1, "end", end_$2];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/helpers/LzSelectionManager.lzs";
$9.lineno = 237;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var st_$3 = -1;
var en_$4 = -1;
for (var i_$5 = list_$0.length - 1;i_$5 >= 0 && (st_$3 == -1 || en_$4 == -1);--i_$5) {
if (list_$0[i_$5] === start_$1) st_$3 = i_$5;
if (list_$0[i_$5] === end_$2) en_$4 = i_$5
};
var sublist_$6 = null;
if (st_$3 != -1 && en_$4 != -1) {
if (en_$4 < st_$3) {
sublist_$6 = ($9.lineno = 247, list_$0.slice(en_$4, st_$3 + 1));
$9.lineno = 248, sublist_$6.reverse()
} else {
sublist_$6 = ($9.lineno = 250, list_$0.slice(st_$3, en_$4 + 1))
}};
return sublist_$6
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "__LZgetSubList";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 237;
return $lzsc$temp
})(), "__LZgetObject", (function () {
var $lzsc$temp = function (o_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["o", o_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzSelectionManager.lzs";
$3.lineno = 266;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return o_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZgetObject";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 266;
return $lzsc$temp
})(), "__LZgetView", (function () {
var $lzsc$temp = function (d_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["d", d_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzSelectionManager.lzs";
$3.lineno = 276;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return d_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZgetView";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 276;
return $lzsc$temp
})(), "__LZsetSelection", (function () {
var $lzsc$temp = function (sela_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["sela", sela_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/helpers/LzSelectionManager.lzs";
$5.lineno = 285;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var selh_$1 = {};
for (var i_$2 = sela_$0.length - 1;i_$2 >= 0;--i_$2) {
selh_$1[sela_$0[i_$2].__LZUID] = true
};
this.selectedHash = selh_$1;
this.selected = sela_$0;
this.lastRangeStart = null
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZsetSelection";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 285;
return $lzsc$temp
})(), "__LZisSelected", (function () {
var $lzsc$temp = function (d_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["d", d_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzSelectionManager.lzs";
$3.lineno = 301;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return this.selectedHash[d_$0.__LZUID] == true
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZisSelected";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 301;
return $lzsc$temp
})(), "__LZsetSelected", (function () {
var $lzsc$temp = function (d_$0, o_$1, sel_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["d", d_$0, "o", o_$1, "sel", sel_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/helpers/LzSelectionManager.lzs";
$5.lineno = 312;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (sel_$2) {
this.selectedHash[o_$1.__LZUID] = true
} else {
delete this.selectedHash[o_$1.__LZUID]
};
$5.lineno = 318, o_$1[this.sel](sel_$2)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZsetSelected";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 312;
return $lzsc$temp
})(), "__LZsplitRange", (function () {
var $lzsc$temp = function (range_$0) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["range", range_$0];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/helpers/LzSelectionManager.lzs";
$b.lineno = 334;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
var sela_$1 = this.selected;
var selh_$2 = this.selectedHash;
var rhash_$3 = {};
var unchanged_$4 = [], added_$5 = [], removed_$6 = [];
for (var i_$7 = range_$0.length - 1;i_$7 >= 0;--i_$7) {
var o_$8 = range_$0[i_$7];
if (selh_$2[o_$8.__LZUID]) {
$b.lineno = 342, unchanged_$4.push(o_$8);
rhash_$3[o_$8.__LZUID] = true
} else {
$b.lineno = 345, added_$5.push(o_$8)
}};
for (var i_$7 = sela_$1.length - 1;i_$7 >= 0;--i_$7) {
var o_$8 = sela_$1[i_$7];
if (!rhash_$3[o_$8.__LZUID]) {
$b.lineno = 351, removed_$6.push(o_$8)
}};
return {unchanged: unchanged_$4, added: added_$5, removed: removed_$6}}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "__LZsplitRange";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 334;
return $lzsc$temp
})(), "createRange", (function () {
var $lzsc$temp = function (s_$0, e_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["s", s_$0, "e", e_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/helpers/LzSelectionManager.lzs";
$4.lineno = 369;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return $4.lineno = 370, this.__LZgetSubList(s_$0.immediateparent.subviews, s_$0, e_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "createRange";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 369;
return $lzsc$temp
})(), "isSelected", (function () {
var $lzsc$temp = function (o_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["o", o_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzSelectionManager.lzs";
$3.lineno = 382;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 383, this.__LZisSelected(($3.lineno = 383, this.__LZgetObject(o_$0)))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "isSelected";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 382;
return $lzsc$temp
})(), "select", (function () {
var $lzsc$temp = function (o_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["o", o_$0];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/helpers/LzSelectionManager.lzs";
$8.lineno = 390;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var d_$1 = ($8.lineno = 391, this.__LZgetObject(o_$0));
var issel_$2 = ($8.lineno = 392, this.__LZisSelected(d_$1));
if (issel_$2 && (this.toggle || ($8.lineno = 393, this.isMultiSelect(o_$0)))) {
$8.lineno = 394, this.unselect(o_$0)
} else {
if (this.selected.length > 0 && ($8.lineno = 396, this.isRangeSelect(o_$0))) {
var s_$3 = this.lastRangeStart || this.selected[0];
$8.lineno = 398, this.__LZselectRange(s_$3, o_$0)
} else {
if (!($8.lineno = 400, this.isMultiSelect(o_$0))) {
var i_$4 = issel_$2 ? ($8.lineno = 401, this.__LZindexOf(d_$1)) : -1;
var sela_$5 = this.selected;
$8.lineno = 403, this.__LZupdateSelection(i_$4 != -1 ? ($8.lineno = 403, sela_$5.splice(i_$4, 1)) : [], sela_$5)
};
$8.lineno = 405, this.__LZaddToSelection(d_$1, o_$0)
}}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "select";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 390;
return $lzsc$temp
})(), "unselect", (function () {
var $lzsc$temp = function (o_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["o", o_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzSelectionManager.lzs";
$3.lineno = 414;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 415, this.__LZremoveFromSelection(($3.lineno = 415, this.__LZgetObject(o_$0)), o_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "unselect";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 414;
return $lzsc$temp
})(), "clearSelection", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/helpers/LzSelectionManager.lzs";
$2.lineno = 421;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 422, this.__LZupdateSelection([], this.selected)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "clearSelection";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 421;
return $lzsc$temp
})(), "getSelection", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/helpers/LzSelectionManager.lzs";
$2.lineno = 429;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 430, this.selected.concat()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getSelection";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 429;
return $lzsc$temp
})(), "isMultiSelect", (function () {
var $lzsc$temp = function (o_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["o", o_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzSelectionManager.lzs";
$3.lineno = 440;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 441, lz.Keys.isKeyDown("control")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "isMultiSelect";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 440;
return $lzsc$temp
})(), "isRangeSelect", (function () {
var $lzsc$temp = function (o_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["o", o_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzSelectionManager.lzs";
$3.lineno = 451;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 452, lz.Keys.isKeyDown("shift")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "isRangeSelect";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 451;
return $lzsc$temp
})()], ["tagname", "selectionmanager", "attributes", new LzInheritedHash(LzNode.attributes)]);
lz[LzSelectionManager.tagname] = LzSelectionManager;
Class.make("LzDataSelectionManager", LzSelectionManager, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/helpers/LzDataSelectionManager.lzs";
$6.lineno = 74;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 75, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzDataSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 74;
return $lzsc$temp
})(), "manager", void 0, "__LZsingleClone", void 0, "destroy", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/helpers/LzDataSelectionManager.lzs";
$2.lineno = 97;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.manager = null;
this.__LZsingleClone = null;
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["destroy"] || ($2.lineno = 100, this.nextMethod(arguments.callee, "destroy"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzDataSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 97;
return $lzsc$temp
})(), "__LZgetObject", (function () {
var $lzsc$temp = function (o_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["o", o_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzDataSelectionManager.lzs";
$3.lineno = 104;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return o_$0.datapath.p
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZgetObject";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzDataSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 104;
return $lzsc$temp
})(), "__LZgetView", (function () {
var $lzsc$temp = function (d_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["d", d_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/helpers/LzDataSelectionManager.lzs";
$4.lineno = 109;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.manager != null) {
return $4.lineno = 111, this.manager.getCloneForNode(d_$0, true)
} else {
var scl_$1 = this.__LZsingleClone;
if (scl_$1 && scl_$1.datapath.p === d_$0) {
return scl_$1
} else {
return null
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZgetView";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzDataSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 109;
return $lzsc$temp
})(), "__LZsetSelection", (function () {
var $lzsc$temp = function (sela_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sela", sela_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzDataSelectionManager.lzs";
$3.lineno = 123;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.selected = sela_$0;
this.lastRangeStart = null
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZsetSelection";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzDataSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 123;
return $lzsc$temp
})(), "__LZisSelected", (function () {
var $lzsc$temp = function (d_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["d", d_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzDataSelectionManager.lzs";
$3.lineno = 129;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return d_$0 && d_$0.sel || false
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZisSelected";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzDataSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 129;
return $lzsc$temp
})(), "__LZsetSelected", (function () {
var $lzsc$temp = function (d_$0, o_$1, sel_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["d", d_$0, "o", o_$1, "sel", sel_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/helpers/LzDataSelectionManager.lzs";
$5.lineno = 134;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (this.manager == null && o_$1 != null) {
this.manager = o_$1.cloneManager;
this.__LZsingleClone = sel_$2 && this.manager == null ? o_$1 : null
};
d_$0.sel = sel_$2;
if (o_$1 != null) {
$5.lineno = 142, o_$1.datapath.setSelected(sel_$2)
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZsetSelected";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzDataSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 134;
return $lzsc$temp
})(), "__LZsplitRange", (function () {
var $lzsc$temp = function (range_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["range", range_$0];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/helpers/LzDataSelectionManager.lzs";
$a.lineno = 147;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
var tmpkey_$1 = "$lzselkey";
var sela_$2 = this.selected;
var unchanged_$3 = [], added_$4 = [], removed_$5 = [];
for (var i_$6 = range_$0.length - 1;i_$6 >= 0;--i_$6) {
var d_$7 = range_$0[i_$6];
if (d_$7.sel) {
$a.lineno = 154, unchanged_$3.push(d_$7);
$a.lineno = 155, d_$7.setUserData(tmpkey_$1, true)
} else {
$a.lineno = 157, added_$4.push(d_$7)
}};
for (var i_$6 = sela_$2.length - 1;i_$6 >= 0;--i_$6) {
var d_$7 = sela_$2[i_$6];
if (!($a.lineno = 162, d_$7.setUserData(tmpkey_$1, null))) {
$a.lineno = 163, removed_$5.push(d_$7)
}};
return {unchanged: unchanged_$3, added: added_$4, removed: removed_$5}}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "__LZsplitRange";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzDataSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 147;
return $lzsc$temp
})(), "createRange", (function () {
var $lzsc$temp = function (s_$0, e_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["s", s_$0, "e", e_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/helpers/LzDataSelectionManager.lzs";
$4.lineno = 170;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.manager == null) {
this.manager = e_$1.cloneManager;
if (this.manager == null) {
return null
} else {
this.__LZsingleClone = null
}};
return $4.lineno = 179, this.__LZgetSubList(this.manager.nodes, s_$0, e_$1.datapath.p)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "createRange";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzDataSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 170;
return $lzsc$temp
})(), "getSelection", (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/helpers/LzDataSelectionManager.lzs";
$6.lineno = 187;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var sela_$0 = this.selected;
var r_$1 = [];
for (var i_$2 = 0, len_$3 = sela_$0.length;i_$2 < len_$3;++i_$2) {
r_$1[i_$2] = ($6.lineno = 191, new LzDatapointer(null, {p: sela_$0[i_$2]}))
};
return r_$1
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "getSelection";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzDataSelectionManager.lzs";
$lzsc$temp["_dbg_lineno"] = 187;
return $lzsc$temp
})()], ["tagname", "dataselectionmanager", "attributes", new LzInheritedHash(LzSelectionManager.attributes)]);
lz[LzDataSelectionManager.tagname] = LzDataSelectionManager;
Class.make("LzCommand", LzNode, ["active", true, "keys", null, "$lzc$set_key", (function () {
var $lzsc$temp = function (k_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["k", k_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/helpers/LzCommand.lzs";
$4.lineno = 55;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var oldKeys_$1 = this.keys;
if (oldKeys_$1) {
$4.lineno = 58, lz.Keys.removeKeyComboCall(this, oldKeys_$1)
};
this.keys = k_$0;
$4.lineno = 61, lz.Keys.callOnKeyCombo(this, k_$0)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_key";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzCommand.lzs";
$lzsc$temp["_dbg_lineno"] = 55;
return $lzsc$temp
})(), "destroy", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzCommand.lzs";
$3.lineno = 64;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var oldKeys_$0 = this.keys;
if (oldKeys_$0) {
$3.lineno = 67, lz.Keys.removeKeyComboCall(this, oldKeys_$0)
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["destroy"] || ($3.lineno = 69, this.nextMethod(arguments.callee, "destroy"))).call(this)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzCommand.lzs";
$lzsc$temp["_dbg_lineno"] = 64;
return $lzsc$temp
})(), "onselect", LzDeclaredEvent, "$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/helpers/LzCommand.lzs";
$6.lineno = 80;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 81, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzCommand.lzs";
$lzsc$temp["_dbg_lineno"] = 80;
return $lzsc$temp
})(), "setKeys", (function () {
var $lzsc$temp = function (k_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["k", k_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzCommand.lzs";
$3.lineno = 90;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 91, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 92, this.$lzc$set_key(k_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setKeys";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzCommand.lzs";
$lzsc$temp["_dbg_lineno"] = 90;
return $lzsc$temp
})(), "execute", (function () {
var $lzsc$temp = function (d_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["d", d_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzCommand.lzs";
$3.lineno = 99;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.active) {
if (this.onselect.ready) $3.lineno = 101, this.onselect.sendEvent(d_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "execute";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzCommand.lzs";
$lzsc$temp["_dbg_lineno"] = 99;
return $lzsc$temp
})(), "keysToString", (function () {
var $lzsc$temp = function () {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = [];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/helpers/LzCommand.lzs";
$8.lineno = 119;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var s_$0 = "";
var keys_$1 = this.keys;
if (keys_$1) {
var dk_$2 = LzCommand.DisplayKeys;
var k_$3 = "";
var l_$4 = keys_$1.length - 1;
for (var i_$5 = 0;i_$5 < l_$4;i_$5++) {
k_$3 = keys_$1[i_$5];
if (k_$3 in dk_$2) k_$3 = dk_$2[k_$3];
s_$0 = s_$0 + k_$3 + "+"
};
k_$3 = keys_$1[i_$5];
if (k_$3 in dk_$2) k_$3 = dk_$2[k_$3];
s_$0 = s_$0 + k_$3
};
return s_$0
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "keysToString";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzCommand.lzs";
$lzsc$temp["_dbg_lineno"] = 119;
return $lzsc$temp
})()], ["tagname", "command", "attributes", new LzInheritedHash(LzNode.attributes), "DisplayKeys", {control: "Ctrl", shift: "Shift", alt: "Alt"}]);
lz[LzCommand.tagname] = LzCommand;
Class.make("LzState", LzNode, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/helpers/LzState.lzs";
$6.lineno = 95;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 2:
children_$2 = null;;case 3:
instcall_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 96, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 95;
return $lzsc$temp
})(), "__LZpool", [], "__LZstatedelegates", void 0, "onapply", LzDeclaredEvent, "onremove", LzDeclaredEvent, "onapplied", LzDeclaredEvent, "applied", false, "$lzc$set_applied", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzState.lzs";
$3.lineno = 158;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (v_$0) {
if (this.isinited) {
$3.lineno = 161, this.apply()
} else {
this.applyOnInit = true
}} else {
if (this.isinited) {
$3.lineno = 167, this.remove()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_applied";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 158;
return $lzsc$temp
})(), "isapplied", false, "$lzc$set_apply", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzState.lzs";
$3.lineno = 182;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 182, this.setApply(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_apply";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 182;
return $lzsc$temp
})(), "asyncnew", false, "subh", null, "pooling", false, "$lzc$set_asyncnew", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzState.lzs";
$3.lineno = 206;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 206, this.__LZsetProperty(v_$0, "asyncnew")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_asyncnew";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 206;
return $lzsc$temp
})(), "$lzc$set_pooling", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzState.lzs";
$3.lineno = 213;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 213, this.__LZsetProperty(v_$0, "pooling")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_pooling";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 213;
return $lzsc$temp
})(), "$lzc$set___LZsourceLocation", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzState.lzs";
$3.lineno = 219;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 219, this.__LZsetProperty(v_$0, "__LZsourceLocation")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set___LZsourceLocation";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 219;
return $lzsc$temp
})(), "heldArgs", void 0, "handlerMethodNames", void 0, "releasedconstraints", void 0, "appliedChildren", void 0, "applyOnInit", false, "construct", (function () {
var $lzsc$temp = function (parent_$0, args_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["parent", parent_$0, "args", args_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/helpers/LzState.lzs";
$4.lineno = 234;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($4.lineno = 235, this.nextMethod(arguments.callee, "construct"))).call(this, parent_$0, args_$1);
this.heldArgs = {};
this.handlerMethodNames = {};
this.appliedChildren = []
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 234;
return $lzsc$temp
})(), "init", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/helpers/LzState.lzs";
$2.lineno = 244;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["init"] || ($2.lineno = 245, this.nextMethod(arguments.callee, "init"))).call(this);
if (this.applyOnInit) {
$2.lineno = 247, this.apply()
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "init";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 244;
return $lzsc$temp
})(), "createChildren", (function () {
var $lzsc$temp = function (carr_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["carr", carr_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzState.lzs";
$3.lineno = 254;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.subh = carr_$0;
$3.lineno = 256, this.__LZinstantiationDone()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "createChildren";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 254;
return $lzsc$temp
})(), "setApply", (function () {
var $lzsc$temp = function (doapply_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["doapply", doapply_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzState.lzs";
$3.lineno = 263;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 265, Debug.deprecated(this, arguments.callee, "setAttribute('applied', " + doapply_$0 + ")");
if (typeof doapply_$0 == "function") {
$3.lineno = 277, this.addProperty("apply", doapply_$0);
return
};
$3.lineno = 280, this.$lzc$set_applied(doapply_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setApply";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 263;
return $lzsc$temp
})(), "apply", (function () {
var $lzsc$temp = function () {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = [];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/helpers/LzState.lzs";
$9.lineno = 288;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
if (this.applied) {
return
};
var parent_$0 = this.parent;
this.applied = this.isapplied = true;
var pia_$1 = parent_$0._instanceAttrs;
if (pia_$1) {
for (var key_$2 in this.heldArgs) {
if (LzConstraintExpr["$lzsc$isa"] ? ($9.lineno = 301, LzConstraintExpr.$lzsc$isa(pia_$1[key_$2])) : pia_$1[key_$2] instanceof LzConstraintExpr) {
if (this.releasedconstraints == null) {
this.releasedconstraints = []
};
var constraintMethodName_$3 = pia_$1[key_$2].methodName;
if ($9.lineno = 304, parent_$0.releaseConstraintMethod(constraintMethodName_$3)) {
$9.lineno = 305, this.releasedconstraints.push(constraintMethodName_$3)
}}}};
var od_$4 = parent_$0.__LZdelegates;
parent_$0.__LZdelegates = null;
$9.lineno = 315, parent_$0.__LZapplyArgs(this.heldArgs);
if (this.subh) var shl_$5 = this.subh.length;
$9.lineno = 318, parent_$0.__LZsetPreventInit();
for (var i_$6 = 0;i_$6 < shl_$5;i_$6++) {
if (this.__LZpool && this.__LZpool[i_$6]) {
$9.lineno = 322, this.appliedChildren.push(($9.lineno = 322, this.__LZretach(this.__LZpool[i_$6])))
} else {
$9.lineno = 324, this.appliedChildren.push(($9.lineno = 324, parent_$0.makeChild(this.subh[i_$6], this.asyncnew)))
}};
$9.lineno = 329, parent_$0.__LZclearPreventInit();
$9.lineno = 331, parent_$0.__LZresolveReferences();
this.__LZstatedelegates = parent_$0.__LZdelegates;
parent_$0.__LZdelegates = od_$4;
if (this.onapply.ready) $9.lineno = 336, this.onapply.sendEvent(this);
if (this.onapplied.ready) $9.lineno = 337, this.onapplied.sendEvent(true)
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "apply";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 288;
return $lzsc$temp
})(), "remove", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/helpers/LzState.lzs";
$4.lineno = 346;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (!this.applied) {
return
};
this.applied = this.isapplied = false;
if (this.onremove.ready) $4.lineno = 354, this.onremove.sendEvent(this);
if (this.onapplied.ready) $4.lineno = 355, this.onapplied.sendEvent(false);
if (this.__LZstatedelegates) {
for (var i_$0 = 0;i_$0 < this.__LZstatedelegates.length;i_$0++) {
$4.lineno = 359, this.__LZstatedelegates[i_$0].unregisterAll()
}};
if (this.pooling && this.appliedChildren.length) {
this.__LZpool = []
};
for (var i_$0 = 0;i_$0 < this.appliedChildren.length;i_$0++) {
var ac_$1 = this.appliedChildren[i_$0];
if (this.pooling) {
if (LzView["$lzsc$isa"] ? ($4.lineno = 371, LzView.$lzsc$isa(ac_$1)) : ac_$1 instanceof LzView) {
$4.lineno = 372, this.__LZpool.push(($4.lineno = 372, this.__LZdetach(ac_$1)))
} else {
$4.lineno = 374, ac_$1.destroy();
$4.lineno = 375, this.__LZpool.push(null)
}} else {
$4.lineno = 378, ac_$1.destroy()
}};
this.appliedChildren = [];
if (this.releasedconstraints != null) {
this.releasedconstraints = null
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "remove";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 346;
return $lzsc$temp
})(), "destroy", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/helpers/LzState.lzs";
$2.lineno = 414;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.pooling = false;
$2.lineno = 418, this.remove();
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["destroy"] || ($2.lineno = 420, this.nextMethod(arguments.callee, "destroy"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 414;
return $lzsc$temp
})(), "__LZapplyArgs", (function () {
var $lzsc$temp = function (args_$0, constcall_$1) {
var $h = Debug;
var $i = $h.backtraceStack;
try {
if ($i) {
var $j = ["args", args_$0, "constcall", constcall_$1];
$j.callee = arguments.callee;
$j["this"] = this;
$j.filename = "lfc/helpers/LzState.lzs";
$j.lineno = 437;
$i.push($j);
if ($i.length > $i.maxDepth) {
$h.stackOverflow()
}};
switch (arguments.length) {
case 1:
constcall_$1 = null
};
var stateArgs_$2 = {};
var held_$3 = this.heldArgs;
var handlers_$4 = this.handlerMethodNames;
for (var key_$5 in args_$0) {
var val_$6 = args_$0[key_$5];
var setr_$7 = "$lzc$set_" + key_$5;
if ((Function["$lzsc$isa"] ? ($j.lineno = 444, Function.$lzsc$isa(this[setr_$7])) : this[setr_$7] instanceof Function) || (key_$5 in handlers_$4)) {
stateArgs_$2[key_$5] = val_$6
} else {
held_$3[key_$5] = val_$6
}};
for (var key_$5 in stateArgs_$2) {
var val_$6 = stateArgs_$2[key_$5];
if (LzOnceExpr["$lzsc$isa"] ? ($j.lineno = 455, LzOnceExpr.$lzsc$isa(val_$6)) : val_$6 instanceof LzOnceExpr) {
var methodName_$8 = val_$6.methodName;
if (methodName_$8 in held_$3) {
stateArgs_$2[methodName_$8] = held_$3[methodName_$8];
delete held_$3[methodName_$8]
};
if (LzAlwaysExpr["$lzsc$isa"] ? ($j.lineno = 466, LzAlwaysExpr.$lzsc$isa(val_$6)) : val_$6 instanceof LzAlwaysExpr) {
var dependenciesName_$9 = val_$6.dependenciesName;
if (dependenciesName_$9 in held_$3) {
stateArgs_$2[dependenciesName_$9] = held_$3[dependenciesName_$9];
delete held_$3[dependenciesName_$9]
}}}};
var rename_$a = null;
for (var key_$5 in held_$3) {
var val_$6 = held_$3[key_$5];
if (LzOnceExpr["$lzsc$isa"] ? ($j.lineno = 485, LzOnceExpr.$lzsc$isa(val_$6)) : val_$6 instanceof LzOnceExpr) {
if (rename_$a == null) {
rename_$a = []
};
$j.lineno = 487, rename_$a.push(key_$5, val_$6)
}};
if (rename_$a != null) {
for (var i_$b = 0, l_$c = rename_$a.length;i_$b < l_$c;i_$b += 2) {
var key_$5 = rename_$a[i_$b];
var expr_$d = rename_$a[i_$b + 1];
var methodName_$8 = expr_$d.methodName;
var newMethodName_$e = methodName_$8 + this.__LZUID;
var dbgName_$f = null;
dbgName_$f = expr_$d._dbg_name;
if (Function["$lzsc$isa"] ? ($j.lineno = 501, Function.$lzsc$isa(held_$3[methodName_$8])) : held_$3[methodName_$8] instanceof Function) {
held_$3[newMethodName_$e] = held_$3[methodName_$8];
delete held_$3[methodName_$8]
} else if (Function["$lzsc$isa"] ? ($j.lineno = 506, Function.$lzsc$isa(this[methodName_$8])) : this[methodName_$8] instanceof Function) {
held_$3[newMethodName_$e] = this[methodName_$8]
};
if (LzAlwaysExpr["$lzsc$isa"] ? ($j.lineno = 512, LzAlwaysExpr.$lzsc$isa(expr_$d)) : expr_$d instanceof LzAlwaysExpr) {
var dependenciesName_$9 = expr_$d.dependenciesName;
var newDependenciesName_$g = dependenciesName_$9 + this.__LZUID;
if (Function["$lzsc$isa"] ? ($j.lineno = 515, Function.$lzsc$isa(held_$3[dependenciesName_$9])) : held_$3[dependenciesName_$9] instanceof Function) {
held_$3[newDependenciesName_$g] = held_$3[dependenciesName_$9];
delete held_$3[dependenciesName_$9]
} else if (Function["$lzsc$isa"] ? ($j.lineno = 520, Function.$lzsc$isa(this[dependenciesName_$9])) : this[dependenciesName_$9] instanceof Function) {
held_$3[newDependenciesName_$g] = this[dependenciesName_$9]
};
held_$3[key_$5] = ($j.lineno = 526, new (expr_$d.constructor)(newMethodName_$e, newDependenciesName_$g, dbgName_$f))
} else {
held_$3[key_$5] = ($j.lineno = 529, new (expr_$d.constructor)(newMethodName_$e, dbgName_$f))
}}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["__LZapplyArgs"] || ($j.lineno = 534, this.nextMethod(arguments.callee, "__LZapplyArgs"))).call(this, stateArgs_$2)
}
finally {
if ($i) {
$i.length--
}}};
$lzsc$temp["displayName"] = "__LZapplyArgs";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 437;
return $lzsc$temp
})(), "$lzc$set_$delegates", (function () {
var $lzsc$temp = function (delarr_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["delarr", delarr_$0];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/helpers/LzState.lzs";
$8.lineno = 543;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var pardels_$1 = [];
var mydels_$2 = [];
for (var i_$3 = 0;i_$3 < delarr_$0.length;i_$3 += 3) {
if (LzState.events[delarr_$0[i_$3]] && !delarr_$0[i_$3 + 2]) {
var arrtopush_$4 = mydels_$2;
var mname_$5 = delarr_$0[i_$3 + 1];
if (this.heldArgs[mname_$5]) {
$8.lineno = 560, this.addProperty(mname_$5, this.heldArgs[mname_$5]);
delete this.heldArgs[mname_$5]
};
this.handlerMethodNames[mname_$5] = true
} else {
var arrtopush_$4 = pardels_$1
};
$8.lineno = 571, arrtopush_$4.push(delarr_$0[i_$3], delarr_$0[i_$3 + 1], delarr_$0[i_$3 + 2])
};
if (mydels_$2.length) {
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzc$set_$delegates"] || ($8.lineno = 576, this.nextMethod(arguments.callee, "$lzc$set_$delegates"))).call(this, mydels_$2)
};
if (pardels_$1.length) {
this.heldArgs.$delegates = pardels_$1
}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_$delegates";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 543;
return $lzsc$temp
})(), "__LZsetProperty", (function () {
var $lzsc$temp = function (prop_$0, propname_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["prop", prop_$0, "propname", propname_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/helpers/LzState.lzs";
$4.lineno = 588;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this[propname_$1] = prop_$0
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZsetProperty";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 588;
return $lzsc$temp
})(), "__LZdetach", (function () {
var $lzsc$temp = function (aview_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["aview", aview_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzState.lzs";
$3.lineno = 595;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 596, aview_$0.$lzc$set_visible(false);
return aview_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZdetach";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 595;
return $lzsc$temp
})(), "__LZretach", (function () {
var $lzsc$temp = function (aview_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["aview", aview_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzState.lzs";
$3.lineno = 603;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 604, aview_$0.$lzc$set_visible(true);
return aview_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZretach";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 603;
return $lzsc$temp
})()], ["tagname", "state", "attributes", new LzInheritedHash(LzNode.attributes), "props", {apply: true}, "events", {onremove: true, onapply: true, onapplied: true}]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/helpers/LzState.lzs";
$3.lineno = 92;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
prototype.$isstate = true
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "helpers/LzState.lzs#92/1";
$lzsc$temp["_dbg_filename"] = "lfc/helpers/LzState.lzs";
$lzsc$temp["_dbg_lineno"] = 92;
return $lzsc$temp
})()(LzState);
lz[LzState.tagname] = LzState;
Mixin.make("LzDataNodeMixin", null, ["onownerDocument", LzDeclaredEvent, "onDocumentChange", LzDeclaredEvent, "onparentNode", LzDeclaredEvent, "onchildNode", LzDeclaredEvent, "onchildNodes", LzDeclaredEvent, "onattributes", LzDeclaredEvent, "onnodeName", LzDeclaredEvent, "nodeType", void 0, "parentNode", null, "ownerDocument", void 0, "childNodes", null, "__LZo", -1, "__LZcoDirty", true, "sel", false, "__LZuserData", null, "__LZuserHandler", null, "getParent", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataNode.lzs";
$2.lineno = 148;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.parentNode
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getParent";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 148;
return $lzsc$temp
})(), "getOffset", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataNode.lzs";
$2.lineno = 156;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.parentNode) return 0;
if (this.parentNode.__LZcoDirty) $2.lineno = 158, this.parentNode.__LZupdateCO();
return this.__LZo
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getOffset";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 156;
return $lzsc$temp
})(), "getPreviousSibling", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataNode.lzs";
$2.lineno = 167;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.parentNode) return null;
if (this.parentNode.__LZcoDirty) $2.lineno = 169, this.parentNode.__LZupdateCO();
return this.parentNode.childNodes[this.__LZo - 1]
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getPreviousSibling";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 167;
return $lzsc$temp
})(), "$lzc$getPreviousSibling_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["who", who_$0, "self", self_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataNode.lzs";
$4.lineno = 174;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return [this.parentNode, "childNodes", this, "parentNode"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getPreviousSibling_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 174;
return $lzsc$temp
})(), "getNextSibling", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataNode.lzs";
$2.lineno = 182;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.parentNode) return null;
if (this.parentNode.__LZcoDirty) $2.lineno = 184, this.parentNode.__LZupdateCO();
return this.parentNode.childNodes[this.__LZo + 1]
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getNextSibling";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 182;
return $lzsc$temp
})(), "$lzc$getNextSibling_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["who", who_$0, "self", self_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataNode.lzs";
$4.lineno = 189;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return [this.parentNode, "childNodes", this, "parentNode"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getNextSibling_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 189;
return $lzsc$temp
})(), "childOfNode", (function () {
var $lzsc$temp = function (el_$0, allowself_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["el", el_$0, "allowself", allowself_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDataNode.lzs";
$5.lineno = 197;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 1:
allowself_$1 = false
};
var p_$2 = allowself_$1 ? this : this.parentNode;
while (p_$2) {
if (p_$2 === el_$0) return true;
p_$2 = p_$2.parentNode
};
return false
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "childOfNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 197;
return $lzsc$temp
})(), "childOf", (function () {
var $lzsc$temp = function (el_$0, allowself_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["el", el_$0, "allowself", allowself_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataNode.lzs";
$4.lineno = 213;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
allowself_$1 = false
};
return $4.lineno = 214, this.childOfNode(el_$0, allowself_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "childOf";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 213;
return $lzsc$temp
})(), "$lzc$set_ownerDocument", (function () {
var $lzsc$temp = function (ownerDoc_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["ownerDoc", ownerDoc_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataNode.lzs";
$4.lineno = 218;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.ownerDocument = ownerDoc_$0;
if (this.childNodes) {
for (var i_$1 = 0;i_$1 < this.childNodes.length;i_$1++) {
$4.lineno = 222, this.childNodes[i_$1].$lzc$set_ownerDocument(ownerDoc_$0)
}};
if (this.onownerDocument.ready) {
$4.lineno = 227, this.onownerDocument.sendEvent(ownerDoc_$0)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_ownerDocument";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 218;
return $lzsc$temp
})(), "setOwnerDocument", (function () {
var $lzsc$temp = function (ownerDoc_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["ownerDoc", ownerDoc_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataNode.lzs";
$3.lineno = 237;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 238, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 239, this.$lzc$set_ownerDocument(ownerDoc_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setOwnerDocument";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 237;
return $lzsc$temp
})(), "cloneNode", (function () {
var $lzsc$temp = function (deep_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["deep", deep_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataNode.lzs";
$3.lineno = 248;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
deep_$0 = false
};
return undefined
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "cloneNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 248;
return $lzsc$temp
})(), "serialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataNode.lzs";
$2.lineno = 257;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return undefined
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "serialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 257;
return $lzsc$temp
})(), "__LZlockFromUpdate", (function () {
var $lzsc$temp = function (locker_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["locker", locker_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataNode.lzs";
$3.lineno = 266;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 267, this.ownerDocument.__LZdoLock(locker_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZlockFromUpdate";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 266;
return $lzsc$temp
})(), "__LZunlockFromUpdate", (function () {
var $lzsc$temp = function (locker_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["locker", locker_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataNode.lzs";
$3.lineno = 274;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 275, this.ownerDocument.__LZdoUnlock(locker_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZunlockFromUpdate";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 274;
return $lzsc$temp
})(), "setUserData", (function () {
var $lzsc$temp = function (key_$0, data_$1, handler_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["key", key_$0, "data", data_$1, "handler", handler_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzDataNode.lzs";
$6.lineno = 290;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 2:
handler_$2 = null
};
if (this.__LZuserData == null) {
this.__LZuserData = {}};
if (handler_$2 != null) {
$6.lineno = 297, Debug.warn("use of the handler arg to setUserData is not currently implemented")
};
var prevdata_$3 = this.__LZuserData[key_$0];
if (data_$1 != null) {
this.__LZuserData[key_$0] = data_$1
} else if (prevdata_$3 != null) {
delete this.__LZuserData[key_$0]
};
return prevdata_$3 != null ? prevdata_$3 : null
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "setUserData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 290;
return $lzsc$temp
})(), "getUserData", (function () {
var $lzsc$temp = function (key_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["key", key_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataNode.lzs";
$4.lineno = 336;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.__LZuserData == null) {
return null
} else {
var udata_$1 = this.__LZuserData[key_$0];
return udata_$1 != null ? udata_$1 : null
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "getUserData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 336;
return $lzsc$temp
})()], null);
lz.DataNodeMixin = LzDataNodeMixin;
Class.make("LzDataNode", LzEventable, ["$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataNode.lzs";
$2.lineno = 380;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 381, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 380;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataNode.lzs";
$2.lineno = 431;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "lz.DataNode"
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 431;
return $lzsc$temp
})()], ["ELEMENT_NODE", 1, "TEXT_NODE", 3, "DOCUMENT_NODE", 9, "stringToLzData", (function () {
var $lzsc$temp = function (str_$0, trimwhitespace_$1, nsprefix_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["str", str_$0, "trimwhitespace", trimwhitespace_$1, "nsprefix", nsprefix_$2];
$5.callee = arguments.callee;
$5.filename = "lfc/data/LzDataNode.lzs";
$5.lineno = 418;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 1:
trimwhitespace_$1 = false;;case 2:
nsprefix_$2 = false
};
$5.lineno = 420, Debug.info("lz.DataNode.stringToLzData is deprecated.  Use `lz.DataElement.stringToLzData` instead.");
return $5.lineno = 422, LzDataElement.stringToLzData(str_$0, trimwhitespace_$1, nsprefix_$2)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "stringToLzData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataNode.lzs";
$lzsc$temp["_dbg_lineno"] = 418;
return $lzsc$temp
})()]);
lz.DataNode = LzDataNode;
Mixin.make("LzDataElementMixin", null, ["__LZchangeQ", null, "__LZlocker", null, "nodeName", null, "attributes", null, "insertBefore", (function () {
var $lzsc$temp = function (newChild_$0, refChild_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["newChild", newChild_$0, "refChild", refChild_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzDataElement.lzs";
$7.lineno = 46;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (newChild_$0 == null) {
return null
} else if (refChild_$1 == null) {
return $7.lineno = 50, this.appendChild(newChild_$0)
} else {
var off_$2 = ($7.lineno = 55, this.__LZgetCO(refChild_$1));
if (off_$2 >= 0) {
var samenode_$3 = newChild_$0 === refChild_$1;
if (newChild_$0.parentNode != null) {
if (newChild_$0.parentNode === this) {
if (!samenode_$3) {
var nchildoff_$4 = ($7.lineno = 61, this.__LZremoveChild(newChild_$0));
if (nchildoff_$4 != -1 && nchildoff_$4 < off_$2) {
off_$2 -= 1
}}} else {
$7.lineno = 68, newChild_$0.parentNode.removeChild(newChild_$0)
}};
if (!samenode_$3) {
this.__LZcoDirty = true;
$7.lineno = 74, this.childNodes.splice(off_$2, 0, newChild_$0)
};
$7.lineno = 77, newChild_$0.$lzc$set_ownerDocument(this.ownerDocument);
newChild_$0.parentNode = this;
if (newChild_$0.onparentNode.ready) $7.lineno = 79, newChild_$0.onparentNode.sendEvent(this);
if (this.onchildNodes.ready) $7.lineno = 80, this.onchildNodes.sendEvent(newChild_$0);
$7.lineno = 81, this.ownerDocument.handleDocumentChange("insertBefore", this, 0);
return newChild_$0
};
return null
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "insertBefore";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 46;
return $lzsc$temp
})(), "replaceChild", (function () {
var $lzsc$temp = function (newChild_$0, oldChild_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["newChild", newChild_$0, "oldChild", oldChild_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzDataElement.lzs";
$7.lineno = 99;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (newChild_$0 == null) {
return null
} else {
var off_$2 = ($7.lineno = 106, this.__LZgetCO(oldChild_$1));
if (off_$2 >= 0) {
var samenode_$3 = newChild_$0 === oldChild_$1;
if (newChild_$0.parentNode != null) {
if (newChild_$0.parentNode === this) {
if (!samenode_$3) {
var nchildoff_$4 = ($7.lineno = 112, this.__LZremoveChild(newChild_$0));
if (nchildoff_$4 != -1 && nchildoff_$4 < off_$2) {
off_$2 -= 1
}}} else {
$7.lineno = 119, newChild_$0.parentNode.removeChild(newChild_$0)
}};
if (!samenode_$3) {
newChild_$0.__LZo = off_$2;
this.childNodes[off_$2] = newChild_$0
};
$7.lineno = 134, newChild_$0.$lzc$set_ownerDocument(this.ownerDocument);
newChild_$0.parentNode = this;
if (newChild_$0.onparentNode.ready) $7.lineno = 136, newChild_$0.onparentNode.sendEvent(this);
if (this.onchildNodes.ready) $7.lineno = 137, this.onchildNodes.sendEvent(newChild_$0);
$7.lineno = 138, this.ownerDocument.handleDocumentChange("childNodes", this, 0, newChild_$0);
return newChild_$0
};
return null
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "replaceChild";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 99;
return $lzsc$temp
})(), "removeChild", (function () {
var $lzsc$temp = function (oldChild_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["oldChild", oldChild_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataElement.lzs";
$4.lineno = 153;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var off_$1 = ($4.lineno = 154, this.__LZgetCO(oldChild_$0));
if (off_$1 >= 0) {
this.__LZcoDirty = true;
$4.lineno = 163, this.childNodes.splice(off_$1, 1);
if (this.onchildNodes.ready) $4.lineno = 165, this.onchildNodes.sendEvent(oldChild_$0);
$4.lineno = 166, this.ownerDocument.handleDocumentChange("removeChild", this, 0, oldChild_$0);
return oldChild_$0
};
return null
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "removeChild";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 153;
return $lzsc$temp
})(), "appendChild", (function () {
var $lzsc$temp = function (newChild_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["newChild", newChild_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataElement.lzs";
$3.lineno = 180;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (newChild_$0 == null) {
return null
} else {
if (newChild_$0.parentNode != null) {
if (newChild_$0.parentNode === this) {
$3.lineno = 189, this.__LZremoveChild(newChild_$0)
} else {
$3.lineno = 191, newChild_$0.parentNode.removeChild(newChild_$0)
}};
$3.lineno = 195, this.childNodes.push(newChild_$0);
newChild_$0.__LZo = this.childNodes.length - 1;
$3.lineno = 199, newChild_$0.$lzc$set_ownerDocument(this.ownerDocument);
newChild_$0.parentNode = this;
if (newChild_$0.onparentNode.ready) $3.lineno = 201, newChild_$0.onparentNode.sendEvent(this);
if (this.onchildNodes.ready) $3.lineno = 202, this.onchildNodes.sendEvent(newChild_$0);
$3.lineno = 203, this.ownerDocument.handleDocumentChange("appendChild", this, 0, newChild_$0);
return newChild_$0
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "appendChild";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 180;
return $lzsc$temp
})(), "hasChildNodes", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataElement.lzs";
$2.lineno = 213;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.childNodes.length > 0
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "hasChildNodes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 213;
return $lzsc$temp
})(), "cloneNode", (function () {
var $lzsc$temp = function (deep_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["deep", deep_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzDataElement.lzs";
$7.lineno = 220;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
switch (arguments.length) {
case 0:
deep_$0 = false
};
var n_$1 = ($7.lineno = 221, new LzDataElement(this.nodeName, this.attributes));
if (deep_$0) {
var cn_$2 = this.childNodes;
var copy_$3 = [];
for (var i_$4 = cn_$2.length - 1;i_$4 >= 0;--i_$4) {
copy_$3[i_$4] = ($7.lineno = 226, cn_$2[i_$4].cloneNode(true))
};
$7.lineno = 229, n_$1.$lzc$set_childNodes(copy_$3)
};
return n_$1
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "cloneNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 220;
return $lzsc$temp
})(), "getAttr", (function () {
var $lzsc$temp = function (name_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["name", name_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataElement.lzs";
$3.lineno = 245;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return this.attributes[name_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getAttr";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 245;
return $lzsc$temp
})(), "$lzc$getAttr_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["who", who_$0, "self", self_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataElement.lzs";
$4.lineno = 249;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return [self_$1, "attributes"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getAttr_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 249;
return $lzsc$temp
})(), "setAttr", (function () {
var $lzsc$temp = function (name_$0, value_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["name", name_$0, "value", value_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataElement.lzs";
$4.lineno = 258;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
value_$1 = ($4.lineno = 263, String(value_$1));
this.attributes[name_$0] = value_$1;
if (this.onattributes.ready) $4.lineno = 266, this.onattributes.sendEvent(name_$0);
$4.lineno = 267, this.ownerDocument.handleDocumentChange("attributes", this, 1, {name: name_$0, value: value_$1, type: "set"});
return value_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setAttr";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 258;
return $lzsc$temp
})(), "removeAttr", (function () {
var $lzsc$temp = function (name_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["name", name_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataElement.lzs";
$4.lineno = 275;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var v_$1 = this.attributes[name_$0];
delete this.attributes[name_$0];
if (this.onattributes.ready) $4.lineno = 278, this.onattributes.sendEvent(name_$0);
$4.lineno = 279, this.ownerDocument.handleDocumentChange("attributes", this, 1, {name: name_$0, value: v_$1, type: "remove"});
return v_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "removeAttr";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 275;
return $lzsc$temp
})(), "hasAttr", (function () {
var $lzsc$temp = function (name_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["name", name_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataElement.lzs";
$3.lineno = 302;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return this.attributes[name_$0] != null
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "hasAttr";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 302;
return $lzsc$temp
})(), "$lzc$hasAttr_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["who", who_$0, "self", self_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataElement.lzs";
$4.lineno = 306;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return [self_$1, "attributes"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$hasAttr_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 306;
return $lzsc$temp
})(), "getFirstChild", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataElement.lzs";
$2.lineno = 314;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.childNodes[0]
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getFirstChild";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 314;
return $lzsc$temp
})(), "$lzc$getFirstChild_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["who", who_$0, "self", self_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataElement.lzs";
$4.lineno = 318;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return [this, "childNodes"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getFirstChild_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 318;
return $lzsc$temp
})(), "getLastChild", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataElement.lzs";
$2.lineno = 326;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.childNodes[this.childNodes.length - 1]
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getLastChild";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 326;
return $lzsc$temp
})(), "$lzc$getLastChild_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["who", who_$0, "self", self_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataElement.lzs";
$4.lineno = 330;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return [this, "childNodes"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$getLastChild_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 330;
return $lzsc$temp
})(), "__LZgetCO", (function () {
var $lzsc$temp = function (child_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["child", child_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDataElement.lzs";
$5.lineno = 335;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (child_$0 != null) {
var cn_$1 = this.childNodes;
if (!this.__LZcoDirty) {
var i_$2 = child_$0.__LZo;
if (cn_$1[i_$2] === child_$0) {
return i_$2
}} else {
for (var i_$2 = cn_$1.length - 1;i_$2 >= 0;--i_$2) {
if (cn_$1[i_$2] === child_$0) {
return i_$2
}}}};
return -1
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZgetCO";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 335;
return $lzsc$temp
})(), "__LZremoveChild", (function () {
var $lzsc$temp = function (oldChild_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["oldChild", oldChild_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataElement.lzs";
$4.lineno = 363;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var off_$1 = ($4.lineno = 364, this.__LZgetCO(oldChild_$0));
if (off_$1 >= 0) {
this.__LZcoDirty = true;
$4.lineno = 367, this.childNodes.splice(off_$1, 1)
};
return off_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZremoveChild";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 363;
return $lzsc$temp
})(), "__LZupdateCO", (function () {
var $lzsc$temp = function () {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = [];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDataElement.lzs";
$5.lineno = 375;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var cn_$0 = this.childNodes;
for (var i_$1 = 0, len_$2 = cn_$0.length;i_$1 < len_$2;i_$1++) {
cn_$0[i_$1].__LZo = i_$1
};
this.__LZcoDirty = false
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZupdateCO";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 375;
return $lzsc$temp
})(), "$lzc$set_attributes", (function () {
var $lzsc$temp = function (attrs_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["attrs", attrs_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzDataElement.lzs";
$6.lineno = 384;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var a_$1 = {};
for (var k_$2 in attrs_$0) {
var val_$3 = attrs_$0[k_$2];
if (typeof val_$3 != "string") {
$6.lineno = 390, Debug.info("In a future release, lz.DataElement will coerce the non-string value %w to a String for the attribute %w.  You may safely ignore this as long as you expect to get a String value back.", val_$3, k_$2)
};
a_$1[k_$2] = attrs_$0[k_$2]
};
this.attributes = a_$1;
if (this.onattributes.ready) $6.lineno = 397, this.onattributes.sendEvent(a_$1);
$6.lineno = 398, this.ownerDocument.handleDocumentChange("attributes", this, 1)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_attributes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 384;
return $lzsc$temp
})(), "setAttrs", (function () {
var $lzsc$temp = function (attrs_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["attrs", attrs_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataElement.lzs";
$3.lineno = 406;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 407, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 408, this.$lzc$set_attributes(attrs_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setAttrs";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 406;
return $lzsc$temp
})(), "$lzc$set_childNodes", (function () {
var $lzsc$temp = function (children_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["children", children_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzDataElement.lzs";
$7.lineno = 412;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (!children_$0) children_$0 = [];
this.childNodes = children_$0;
if (children_$0.length > 0) {
var notifyParent_$1 = true;
var otherParent_$2 = children_$0[0].parentNode;
if (otherParent_$2 != null && otherParent_$2 !== this && otherParent_$2.childNodes === children_$0) {
notifyParent_$1 = false;
$7.lineno = 434, otherParent_$2.$lzc$set_childNodes([])
};
for (var i_$3 = 0;i_$3 < children_$0.length;i_$3++) {
var c_$4 = children_$0[i_$3];
if (c_$4) {
if (notifyParent_$1 && c_$4.parentNode != null) {
if (c_$4.parentNode !== this) {
$7.lineno = 442, c_$4.parentNode.removeChild(c_$4)
}};
$7.lineno = 446, c_$4.$lzc$set_ownerDocument(this.ownerDocument);
c_$4.parentNode = this;
if (c_$4.onparentNode.ready) $7.lineno = 448, c_$4.onparentNode.sendEvent(this);
c_$4.__LZo = i_$3
}}};
this.__LZcoDirty = false;
if (this.onchildNodes.ready) $7.lineno = 455, this.onchildNodes.sendEvent(children_$0);
$7.lineno = 456, this.ownerDocument.handleDocumentChange("childNodes", this, 0)
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_childNodes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 412;
return $lzsc$temp
})(), "setChildNodes", (function () {
var $lzsc$temp = function (children_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["children", children_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataElement.lzs";
$3.lineno = 465;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 466, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 467, this.$lzc$set_childNodes(children_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setChildNodes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 465;
return $lzsc$temp
})(), "$lzc$set_nodeName", (function () {
var $lzsc$temp = function (name_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["name", name_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataElement.lzs";
$3.lineno = 471;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.nodeName = name_$0;
if (this.onnodeName.ready) $3.lineno = 474, this.onnodeName.sendEvent(name_$0);
if (this.parentNode) {
if (this.parentNode.onchildNodes.ready) $3.lineno = 476, this.parentNode.onchildNodes.sendEvent(this);
if (this.parentNode.onchildNode.ready) $3.lineno = 477, this.parentNode.onchildNode.sendEvent(this)
};
$3.lineno = 479, this.ownerDocument.handleDocumentChange("childNodeName", this.parentNode, 0);
$3.lineno = 480, this.ownerDocument.handleDocumentChange("nodeName", this, 1)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_nodeName";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 471;
return $lzsc$temp
})(), "setNodeName", (function () {
var $lzsc$temp = function (name_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["name", name_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataElement.lzs";
$3.lineno = 493;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 494, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 495, this.$lzc$set_nodeName(name_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setNodeName";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 493;
return $lzsc$temp
})(), "__LZgetText", (function () {
var $lzsc$temp = function () {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = [];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzDataElement.lzs";
$7.lineno = 501;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var s_$0 = "";
var cn_$1 = this.childNodes;
for (var i_$2 = 0, len_$3 = cn_$1.length;i_$2 < len_$3;i_$2++) {
var c_$4 = cn_$1[i_$2];
if (c_$4.nodeType == LzDataElement.TEXT_NODE) {
s_$0 += c_$4.data
}};
return s_$0
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "__LZgetText";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 501;
return $lzsc$temp
})(), "getElementsByTagName", (function () {
var $lzsc$temp = function (name_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["name", name_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzDataElement.lzs";
$7.lineno = 518;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var r_$1 = [];
var cn_$2 = this.childNodes;
for (var i_$3 = 0, len_$4 = cn_$2.length;i_$3 < len_$4;i_$3++) {
if (cn_$2[i_$3].nodeName == name_$0) {
$7.lineno = 523, r_$1.push(cn_$2[i_$3])
}};
return r_$1
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "getElementsByTagName";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 518;
return $lzsc$temp
})(), "__LZlt", "<", "__LZgt", ">", "serialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataElement.lzs";
$2.lineno = 589;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 590, this.serializeInternal()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "serialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 589;
return $lzsc$temp
})(), "serializeInternal", (function () {
var $lzsc$temp = function (len_$0) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["len", len_$0];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/data/LzDataElement.lzs";
$9.lineno = 597;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
switch (arguments.length) {
case 0:
len_$0 = Infinity
};
var s_$1 = this.__LZlt + this.nodeName;
var attrs_$2 = this.attributes;
for (var k_$3 in attrs_$2) {
s_$1 += " " + k_$3 + '="' + ($9.lineno = 602, LzDataElement.__LZXMLescape(attrs_$2[k_$3])) + '"';
if (s_$1.length > len_$0) {
break
}};
var cn_$4 = this.childNodes;
if (s_$1.length <= len_$0 && cn_$4.length) {
s_$1 += this.__LZgt;
for (var i_$5 = 0, cnlen_$6 = cn_$4.length;i_$5 < cnlen_$6;i_$5++) {
s_$1 += ($9.lineno = 610, cn_$4[i_$5].serialize());
if (s_$1.length > len_$0) {
break
}};
s_$1 += this.__LZlt + "/" + this.nodeName + this.__LZgt
} else {
s_$1 += "/" + this.__LZgt
};
if (s_$1.length > len_$0) {
s_$1 = ($9.lineno = 618, Debug.abbreviate(s_$1, len_$0))
};
return s_$1
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "serializeInternal";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 597;
return $lzsc$temp
})(), "_dbg_name", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataElement.lzs";
$2.lineno = 628;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 629, this.serializeInternal(Debug.printLength)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "_dbg_name";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 628;
return $lzsc$temp
})(), "handleDocumentChange", (function () {
var $lzsc$temp = function (what_$0, who_$1, type_$2, cobj_$3) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["what", what_$0, "who", who_$1, "type", type_$2, "cobj", cobj_$3];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzDataElement.lzs";
$7.lineno = 641;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
switch (arguments.length) {
case 3:
cobj_$3 = null
};
var o_$4 = {who: who_$1, what: what_$0, type: type_$2};
if (cobj_$3) o_$4.cobj = cobj_$3;
if (this.__LZchangeQ) {
$7.lineno = 645, this.__LZchangeQ.push(o_$4)
} else {
if (this.onDocumentChange.ready) $7.lineno = 647, this.onDocumentChange.sendEvent(o_$4)
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "handleDocumentChange";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 641;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataElement.lzs";
$2.lineno = 654;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 655, this.serialize()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 654;
return $lzsc$temp
})(), "__LZdoLock", (function () {
var $lzsc$temp = function (locker_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["locker", locker_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataElement.lzs";
$3.lineno = 663;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this.__LZchangeQ) {
this.__LZchangeQ = [];
this.__LZlocker = locker_$0
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZdoLock";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 663;
return $lzsc$temp
})(), "__LZdoUnlock", (function () {
var $lzsc$temp = function (locker_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["locker", locker_$0];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/data/LzDataElement.lzs";
$a.lineno = 675;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
if (this.__LZlocker != locker_$0) {
return
};
var lzq_$1 = this.__LZchangeQ;
this.__LZchangeQ = null;
this.__LZlocker = null;
if (lzq_$1 != null) {
for (var i_$2 = 0, len_$3 = lzq_$1.length;i_$2 < len_$3;i_$2++) {
var sendit_$4 = true;
var tc_$5 = lzq_$1[i_$2];
for (var j_$6 = 0;j_$6 < i_$2;j_$6++) {
var oc_$7 = lzq_$1[j_$6];
if (tc_$5.who == oc_$7.who && tc_$5.what == oc_$7.what && tc_$5.type == oc_$7.type) {
sendit_$4 = false;
break
}};
if (sendit_$4) {
$a.lineno = 699, this.handleDocumentChange(tc_$5.what, tc_$5.who, tc_$5.type)
}}}}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "__LZdoUnlock";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 675;
return $lzsc$temp
})()], null);
lz.DataElementMixin = LzDataElementMixin;
Class.make("LzDataElement", [LzDataElementMixin, LzDataNodeMixin, LzDataNode], ["$lzsc$initialize", (function () {
var $lzsc$temp = function (name_$0, attributes_$1, children_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["name", name_$0, "attributes", attributes_$1, "children", children_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDataElement.lzs";
$5.lineno = 728;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 1:
attributes_$1 = null;;case 2:
children_$2 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($5.lineno = 731, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.nodeName = name_$0;
this.nodeType = LzDataElement.ELEMENT_NODE;
this.ownerDocument = this;
if (attributes_$1) {
$5.lineno = 736, this.$lzc$set_attributes(attributes_$1)
} else {
this.attributes = {}};
if (children_$2) {
$5.lineno = 741, this.$lzc$set_childNodes(children_$2)
} else {
this.childNodes = [];
this.__LZcoDirty = false
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 728;
return $lzsc$temp
})()], ["NODE_CLONED", 1, "NODE_IMPORTED", 2, "NODE_DELETED", 3, "NODE_RENAMED", 4, "NODE_ADOPTED", 5, "makeNodeList", (function () {
var $lzsc$temp = function (count_$0, name_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["count", count_$0, "name", name_$1];
$6.callee = arguments.callee;
$6.filename = "lfc/data/LzDataElement.lzs";
$6.lineno = 768;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var a_$2 = [];
for (var i_$3 = 0;i_$3 < count_$0;i_$3++) {
a_$2[i_$3] = ($6.lineno = 771, new LzDataElement(name_$1))
};
return a_$2
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "makeNodeList";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 768;
return $lzsc$temp
})(), "valueToElement", (function () {
var $lzsc$temp = function (o_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["o", o_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/data/LzDataElement.lzs";
$3.lineno = 779;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 780, new LzDataElement("element", {}, ($3.lineno = 780, LzDataElement.__LZv2E(o_$0)))
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "valueToElement";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 779;
return $lzsc$temp
})(), "__LZdateToJSON", (function () {
var $lzsc$temp = function (d_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
var pad2_$1;
var pad3_$2;
if ($4) {
var $5 = ["d", d_$0];
$5.callee = arguments.callee;
$5.filename = "lfc/data/LzDataElement.lzs";
$5.lineno = 787;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
pad2_$1 = (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataElement.lzs";
$3.lineno = 789;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return (n_$0 < 10 ? "0" : "") + n_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "pad2";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 789;
return $lzsc$temp
})();
pad3_$2 = (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataElement.lzs";
$3.lineno = 792;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return (n_$0 < 10 ? "00" : (n_$0 < 100 ? "0" : "")) + n_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "pad3";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 792;
return $lzsc$temp
})();
if ($5.lineno = 788, isFinite(($5.lineno = 788, d_$0.valueOf()))) {
return ($5.lineno = 796, d_$0.getUTCFullYear()) + "-" + ($5.lineno = 797, pad2_$1(($5.lineno = 797, d_$0.getUTCMonth()) + 1)) + "-" + ($5.lineno = 798, pad2_$1(($5.lineno = 798, d_$0.getUTCDate()))) + "T" + ($5.lineno = 799, pad2_$1(($5.lineno = 799, d_$0.getUTCHours()))) + ":" + ($5.lineno = 800, pad2_$1(($5.lineno = 800, d_$0.getUTCMinutes()))) + ":" + ($5.lineno = 801, pad2_$1(($5.lineno = 801, d_$0.getUTCSeconds()))) + "." + ($5.lineno = 802, pad3_$2(($5.lineno = 802, d_$0.getUTCMilliseconds()))) + "Z"
} else {
return null
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZdateToJSON";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 787;
return $lzsc$temp
})(), "__LZv2E", (function () {
var $lzsc$temp = function (o_$0) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["o", o_$0];
$9.callee = arguments.callee;
$9.filename = "lfc/data/LzDataElement.lzs";
$9.lineno = 813;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var c_$1 = [];
if (typeof o_$0 == "object") {
if ((LzDataElement["$lzsc$isa"] ? ($9.lineno = 816, LzDataElement.$lzsc$isa(o_$0)) : o_$0 instanceof LzDataElement) || (LzDataText["$lzsc$isa"] ? ($9.lineno = 817, LzDataText.$lzsc$isa(o_$0)) : o_$0 instanceof LzDataText)) {
c_$1[0] = o_$0
} else if (Date["$lzsc$isa"] ? ($9.lineno = 819, Date.$lzsc$isa(o_$0)) : o_$0 instanceof Date) {
var d_$2 = ($9.lineno = 821, LzDataElement.__LZdateToJSON(o_$0));
if (d_$2 != null) {
c_$1[0] = ($9.lineno = 823, new LzDataText(d_$2))
}} else if (Array["$lzsc$isa"] ? ($9.lineno = 825, Array.$lzsc$isa(o_$0)) : o_$0 instanceof Array) {
var tag_$3 = o_$0.__LZtag != null ? o_$0.__LZtag : "item";
for (var i_$4 = 0;i_$4 < o_$0.length;i_$4++) {
var tmpC_$5 = ($9.lineno = 828, LzDataElement.__LZv2E(o_$0[i_$4]));
c_$1[i_$4] = ($9.lineno = 829, new LzDataElement(tag_$3, null, tmpC_$5))
}} else {
var i_$4 = 0;
for (var k_$6 in o_$0) {
if (($9.lineno = 835, k_$6.indexOf("__LZ")) == 0) continue;
c_$1[i_$4++] = ($9.lineno = 836, new LzDataElement(k_$6, null, ($9.lineno = 836, LzDataElement.__LZv2E(o_$0[k_$6]))))
}}} else if (o_$0 != null) {
c_$1[0] = ($9.lineno = 840, new LzDataText(($9.lineno = 840, String(o_$0))))
};
return c_$1.length != 0 ? c_$1 : null
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "__LZv2E";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 813;
return $lzsc$temp
})(), "ELEMENT_NODE", 1, "TEXT_NODE", 3, "DOCUMENT_NODE", 9, "__LZescapechars", {"&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&apos;"}, "__LZXMLescape", (function () {
var $lzsc$temp = function (t_$0) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["t", t_$0];
$9.callee = arguments.callee;
$9.filename = "lfc/data/LzDataElement.lzs";
$9.lineno = 877;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
if (typeof t_$0 != "string") return t_$0;
var escChars_$1 = LzDataElement.__LZescapechars;
var olen_$2 = t_$0.length;
var r_$3 = "";
for (var i_$4 = 0;i_$4 < olen_$2;i_$4++) {
var code_$5 = ($9.lineno = 885, t_$0.charCodeAt(i_$4));
if (code_$5 < 32) {
r_$3 += "&#x" + ($9.lineno = 887, code_$5.toString(16)) + ";"
} else {
var c_$6 = ($9.lineno = 889, t_$0.charAt(i_$4));
r_$3 += escChars_$1[c_$6] || c_$6
}};
return r_$3
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "__LZXMLescape";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 877;
return $lzsc$temp
})(), "stringToLzData", (function () {
var $lzsc$temp = function (str_$0, trimwhitespace_$1, nsprefix_$2) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["str", str_$0, "trimwhitespace", trimwhitespace_$1, "nsprefix", nsprefix_$2];
$8.callee = arguments.callee;
$8.filename = "lfc/data/LzDataElement.lzs";
$8.lineno = 909;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
switch (arguments.length) {
case 1:
trimwhitespace_$1 = false;;case 2:
nsprefix_$2 = false
};
if (str_$0 != null && str_$0 != "") {
var nativexml_$3;
try {
nativexml_$3 = ($8.lineno = 913, LzXMLParser.parseXML(str_$0, trimwhitespace_$1, nsprefix_$2))
}
catch (e_$4) {
$8.lineno = 916, Debug.warn("Cannot parse xml-string '%s': %w", str_$0, e_$4)
};
if (nativexml_$3 != null) {
var lfcnode_$5 = ($8.lineno = 920, LzXMLTranslator.copyXML(nativexml_$3, trimwhitespace_$1, nsprefix_$2));
return lfcnode_$5
}};
return null
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "stringToLzData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 909;
return $lzsc$temp
})(), "whitespaceChars", {" ": true, "\r": true, "\n": true, "\t": true}, "trim", (function () {
var $lzsc$temp = function (str_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["str", str_$0];
$8.callee = arguments.callee;
$8.filename = "lfc/data/LzDataElement.lzs";
$8.lineno = 938;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var whitech_$1 = LzDataElement.whitespaceChars;
var len_$2 = str_$0.length;
var sindex_$3 = 0;
var eindex_$4 = len_$2 - 1;
var ch_$5;
while (sindex_$3 < len_$2) {
ch_$5 = ($8.lineno = 945, str_$0.charAt(sindex_$3));
if (whitech_$1[ch_$5] != true) break;
sindex_$3++
};
while (eindex_$4 > sindex_$3) {
ch_$5 = ($8.lineno = 951, str_$0.charAt(eindex_$4));
if (whitech_$1[ch_$5] != true) break;
eindex_$4--
};
return $8.lineno = 956, str_$0.slice(sindex_$3, eindex_$4 + 1)
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "trim";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataElement.lzs";
$lzsc$temp["_dbg_lineno"] = 938;
return $lzsc$temp
})()]);
lz.DataElement = LzDataElement;
Class.make("LzDataText", [LzDataNodeMixin, LzDataNode], ["$lzsc$initialize", (function () {
var $lzsc$temp = function (text_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["text", text_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataText.lzs";
$3.lineno = 30;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($3.lineno = 31, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.nodeType = LzDataElement.TEXT_NODE;
this.data = text_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataText.lzs";
$lzsc$temp["_dbg_lineno"] = 30;
return $lzsc$temp
})(), "ondata", LzDeclaredEvent, "nodeName", "#text", "data", "", "$lzc$set_data", (function () {
var $lzsc$temp = function (newdata_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["newdata", newdata_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataText.lzs";
$3.lineno = 60;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.data = newdata_$0;
if (this.ondata.ready) {
$3.lineno = 63, this.ondata.sendEvent(newdata_$0)
};
if (this.ownerDocument) {
$3.lineno = 66, this.ownerDocument.handleDocumentChange("data", this, 1)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_data";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataText.lzs";
$lzsc$temp["_dbg_lineno"] = 60;
return $lzsc$temp
})(), "setData", (function () {
var $lzsc$temp = function (newdata_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["newdata", newdata_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataText.lzs";
$3.lineno = 75;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 76, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 77, this.$lzc$set_data(newdata_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataText.lzs";
$lzsc$temp["_dbg_lineno"] = 75;
return $lzsc$temp
})(), "cloneNode", (function () {
var $lzsc$temp = function (deep_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["deep", deep_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataText.lzs";
$4.lineno = 83;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
deep_$0 = false
};
var n_$1 = ($4.lineno = 84, new LzDataText(this.data));
return n_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "cloneNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataText.lzs";
$lzsc$temp["_dbg_lineno"] = 83;
return $lzsc$temp
})(), "serialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataText.lzs";
$2.lineno = 97;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 98, LzDataElement.__LZXMLescape(this.data)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "serialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataText.lzs";
$lzsc$temp["_dbg_lineno"] = 97;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataText.lzs";
$2.lineno = 104;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.data
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataText.lzs";
$lzsc$temp["_dbg_lineno"] = 104;
return $lzsc$temp
})(), "_dbg_name", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataText.lzs";
$4.lineno = 114;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var s_$0 = ($4.lineno = 115, this.serialize());
var len_$1 = Debug.printLength;
if (s_$0.length > len_$1) {
s_$0 = ($4.lineno = 117, Debug.abbreviate(s_$0, len_$1))
};
return s_$0
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "_dbg_name";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataText.lzs";
$lzsc$temp["_dbg_lineno"] = 114;
return $lzsc$temp
})()], null);
lz.DataText = LzDataText;
Class.make("LzDataRequest", LzEventable, ["requestor", null, "src", null, "timeout", Infinity, "status", null, "rawdata", null, "error", null, "onstatus", LzDeclaredEvent, "$lzsc$initialize", (function () {
var $lzsc$temp = function (requestor_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["requestor", requestor_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataRequest.lzs";
$3.lineno = 92;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
requestor_$0 = null
};
this.requestor = requestor_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataRequest.lzs";
$lzsc$temp["_dbg_lineno"] = 92;
return $lzsc$temp
})()], ["SUCCESS", "success", "TIMEOUT", "timeout", "ERROR", "error", "READY", "ready", "LOADING", "loading"]);
lz.DataRequest = LzDataRequest;
Class.make("LzDataProvider", LzEventable, ["$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataProvider.lzs";
$2.lineno = 35;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 36, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataProvider.lzs";
$lzsc$temp["_dbg_lineno"] = 35;
return $lzsc$temp
})(), "doRequest", (function () {
var $lzsc$temp = function (dreq_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["dreq", dreq_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataProvider.lzs";
$3.lineno = 44;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "doRequest";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataProvider.lzs";
$lzsc$temp["_dbg_lineno"] = 44;
return $lzsc$temp
})(), "abortLoadForRequest", (function () {
var $lzsc$temp = function (dreq_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["dreq", dreq_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataProvider.lzs";
$3.lineno = 52;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "abortLoadForRequest";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataProvider.lzs";
$lzsc$temp["_dbg_lineno"] = 52;
return $lzsc$temp
})()], null);
lz.DataProvider = LzDataProvider;
Class.make("LzHTTPDataRequest", LzDataRequest, ["method", "GET", "postbody", void 0, "proxied", void 0, "proxyurl", void 0, "multirequest", false, "queuerequests", false, "queryparams", null, "requestheaders", null, "getresponseheaders", false, "responseheaders", void 0, "cacheable", false, "clientcacheable", false, "trimwhitespace", false, "nsprefix", false, "serverproxyargs", null, "xmldata", null, "loadtime", 0, "loadstarttime", void 0, "secure", false, "secureport", void 0, "parsexml", true, "loader", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function (requestor_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["requestor", requestor_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzHTTPDataRequest.lzs";
$3.lineno = 113;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
requestor_$0 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($3.lineno = 114, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, requestor_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzHTTPDataRequest.lzs";
$lzsc$temp["_dbg_lineno"] = 113;
return $lzsc$temp
})()], null);
lz.HTTPDataRequest = LzHTTPDataRequest;
Class.make("LzHTTPDataProvider", LzDataProvider, ["$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzHTTPDataProvider.lzs";
$2.lineno = 30;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 31, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzHTTPDataProvider.lzs";
$lzsc$temp["_dbg_lineno"] = 30;
return $lzsc$temp
})(), "makeLoader", (function () {
var $lzsc$temp = function (dreq_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["dreq", dreq_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzHTTPDataProvider.lzs";
$6.lineno = 37;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var proxied_$1 = dreq_$0.proxied;
var tloader_$2 = ($6.lineno = 41, new LzHTTPLoader(this, proxied_$1));
dreq_$0.loader = tloader_$2;
tloader_$2.loadSuccess = this.loadSuccess;
tloader_$2.loadError = this.loadError;
tloader_$2.loadTimeout = this.loadTimeout;
$6.lineno = 47, tloader_$2.setProxied(proxied_$1);
var secure_$3 = dreq_$0.secure;
if (secure_$3 == null) {
if (($6.lineno = 55, dreq_$0.src.substring(0, 5)) == "https") {
secure_$3 = true
}};
tloader_$2.secure = secure_$3;
if (secure_$3) {
tloader_$2.baserequest = ($6.lineno = 62, lz.Browser.getBaseURL(secure_$3, dreq_$0.secureport));
tloader_$2.secureport = dreq_$0.secureport
};
return tloader_$2
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "makeLoader";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzHTTPDataProvider.lzs";
$lzsc$temp["_dbg_lineno"] = 37;
return $lzsc$temp
})(), "abortLoadForRequest", (function () {
var $lzsc$temp = function (dreq_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["dreq", dreq_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzHTTPDataProvider.lzs";
$3.lineno = 75;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 76, dreq_$0.loader.abort()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "abortLoadForRequest";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzHTTPDataProvider.lzs";
$lzsc$temp["_dbg_lineno"] = 75;
return $lzsc$temp
})(), "doRequest", (function () {
var $lzsc$temp = function (dreq_$0) {
var $j = Debug;
var $k = $j.backtraceStack;
try {
if ($k) {
var $l = ["dreq", dreq_$0];
$l.callee = arguments.callee;
$l["this"] = this;
$l.filename = "lfc/data/LzHTTPDataProvider.lzs";
$l.lineno = 82;
$k.push($l);
if ($k.length > $k.maxDepth) {
$j.stackOverflow()
}};
var httpdreq_$1 = dreq_$0;
if (!httpdreq_$1.src) return;
var proxied_$2 = httpdreq_$1.proxied;
var tloader_$3 = httpdreq_$1.loader;
if (tloader_$3 == null || httpdreq_$1.multirequest == true || httpdreq_$1.queuerequests == true) {
tloader_$3 = ($l.lineno = 97, this.makeLoader(httpdreq_$1))
};
tloader_$3.dataRequest = httpdreq_$1;
$l.lineno = 102, tloader_$3.setQueueing(httpdreq_$1.queuerequests);
$l.lineno = 103, tloader_$3.setTimeout(httpdreq_$1.timeout);
$l.lineno = 105, tloader_$3.setOption("serverproxyargs", httpdreq_$1.serverproxyargs);
$l.lineno = 106, tloader_$3.setOption("cacheable", httpdreq_$1.cacheable == true);
$l.lineno = 107, tloader_$3.setOption("timeout", httpdreq_$1.timeout);
$l.lineno = 108, tloader_$3.setOption("trimwhitespace", httpdreq_$1.trimwhitespace == true);
$l.lineno = 109, tloader_$3.setOption("nsprefix", httpdreq_$1.nsprefix == true);
$l.lineno = 110, tloader_$3.setOption("sendheaders", httpdreq_$1.getresponseheaders == true);
$l.lineno = 111, tloader_$3.setOption("parsexml", httpdreq_$1.parsexml);
if (httpdreq_$1.clientcacheable != null) {
$l.lineno = 114, tloader_$3.setOption("ccache", httpdreq_$1.clientcacheable)
};
var headers_$4 = {};
var headerparams_$5 = httpdreq_$1.requestheaders;
if (headerparams_$5 != null) {
var headernames_$6 = ($l.lineno = 120, headerparams_$5.getNames());
for (var i_$7 = 0;i_$7 < headernames_$6.length;i_$7++) {
var key_$8 = headernames_$6[i_$7];
var val_$9 = ($l.lineno = 123, headerparams_$5.getValue(key_$8));
if (proxied_$2) {
headers_$4[key_$8] = val_$9
} else {
$l.lineno = 129, tloader_$3.setRequestHeader(key_$8, val_$9)
}}};
var qparams_$a = httpdreq_$1.queryparams;
var hasquerydata_$b = true;
var postbody_$c = httpdreq_$1.postbody;
if (postbody_$c == null && qparams_$a != null) {
postbody_$c = ($l.lineno = 144, qparams_$a.serialize("=", "&", true))
} else {
hasquerydata_$b = false
};
$l.lineno = 151, tloader_$3.setOption("hasquerydata", hasquerydata_$b);
var lzurl_$d = ($l.lineno = 153, new LzURL(httpdreq_$1.src));
if (httpdreq_$1.method == "GET") {
if (lzurl_$d.query == null) {
lzurl_$d.query = postbody_$c
} else {
if (postbody_$c != null) {
lzurl_$d.query += "&" + postbody_$c
}};
postbody_$c = null
};
var cachebreak_$e = "__lzbc__=" + ($l.lineno = 167, ($l.lineno = 167, new Date()).getTime());
if (!proxied_$2 && httpdreq_$1.method == "POST" && (postbody_$c == null || postbody_$c == "")) {
postbody_$c = cachebreak_$e
};
var url_$f;
if (proxied_$2) {
url_$f = ($l.lineno = 187, tloader_$3.makeProxiedURL(httpdreq_$1.proxyurl, ($l.lineno = 187, lzurl_$d.toString()), httpdreq_$1.method, "xmldata", headers_$4, postbody_$c));
var marker_$g = ($l.lineno = 192, url_$f.indexOf("?"));
var uquery_$h = ($l.lineno = 193, url_$f.substring(marker_$g + 1, url_$f.length));
var url_noquery_$i = ($l.lineno = 194, url_$f.substring(0, marker_$g));
url_$f = url_noquery_$i + "?" + cachebreak_$e;
postbody_$c = uquery_$h
} else {
if (!httpdreq_$1.clientcacheable) {
if (httpdreq_$1.method == "GET") {
if (lzurl_$d.query == null) {
lzurl_$d.query = cachebreak_$e
} else {
lzurl_$d.query += "&" + cachebreak_$e
}}};
url_$f = ($l.lineno = 210, lzurl_$d.toString())
};
httpdreq_$1.loadstarttime = ($l.lineno = 213, ($l.lineno = 213, new Date()).getTime());
httpdreq_$1.status = LzDataRequest.LOADING;
$l.lineno = 216, tloader_$3.open(proxied_$2 ? "POST" : httpdreq_$1.method, url_$f, null, null);
$l.lineno = 217, tloader_$3.send(postbody_$c)
}
finally {
if ($k) {
$k.length--
}}};
$lzsc$temp["displayName"] = "doRequest";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzHTTPDataProvider.lzs";
$lzsc$temp["_dbg_lineno"] = 82;
return $lzsc$temp
})(), "loadSuccess", (function () {
var $lzsc$temp = function (loader_$0, data_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["loader", loader_$0, "data", data_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzHTTPDataProvider.lzs";
$5.lineno = 226;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var dreq_$2 = loader_$0.dataRequest;
dreq_$2.status = LzDataRequest.SUCCESS;
$5.lineno = 229, loader_$0.owner.loadResponse(dreq_$2, data_$1)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "loadSuccess";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzHTTPDataProvider.lzs";
$lzsc$temp["_dbg_lineno"] = 226;
return $lzsc$temp
})(), "loadError", (function () {
var $lzsc$temp = function (loader_$0, data_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["loader", loader_$0, "data", data_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzHTTPDataProvider.lzs";
$5.lineno = 238;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var dreq_$2 = loader_$0.dataRequest;
dreq_$2.status = LzDataRequest.ERROR;
$5.lineno = 241, loader_$0.owner.loadResponse(dreq_$2, data_$1)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "loadError";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzHTTPDataProvider.lzs";
$lzsc$temp["_dbg_lineno"] = 238;
return $lzsc$temp
})(), "loadTimeout", (function () {
var $lzsc$temp = function (loader_$0, data_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["loader", loader_$0, "data", data_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzHTTPDataProvider.lzs";
$5.lineno = 250;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var dreq_$2 = loader_$0.dataRequest;
dreq_$2.loadtime = ($5.lineno = 252, ($5.lineno = 252, new Date()).getTime()) - dreq_$2.loadstarttime;
dreq_$2.status = LzDataRequest.TIMEOUT;
$5.lineno = 254, dreq_$2.onstatus.sendEvent(dreq_$2)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "loadTimeout";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzHTTPDataProvider.lzs";
$lzsc$temp["_dbg_lineno"] = 250;
return $lzsc$temp
})(), "setRequestError", (function () {
var $lzsc$temp = function (dreq_$0, msg_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["dreq", dreq_$0, "msg", msg_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzHTTPDataProvider.lzs";
$4.lineno = 260;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
dreq_$0.error = msg_$1;
dreq_$0.status = LzDataRequest.ERROR
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setRequestError";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzHTTPDataProvider.lzs";
$lzsc$temp["_dbg_lineno"] = 260;
return $lzsc$temp
})(), "loadResponse", (function () {
var $lzsc$temp = function (dreq_$0, data_$1) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["dreq", dreq_$0, "data", data_$1];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/data/LzHTTPDataProvider.lzs";
$a.lineno = 270;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
dreq_$0.loadtime = ($a.lineno = 271, ($a.lineno = 271, new Date()).getTime()) - dreq_$0.loadstarttime;
dreq_$0.rawdata = ($a.lineno = 272, dreq_$0.loader.getResponse());
if (data_$1 == null) {
$a.lineno = 275, this.setRequestError(dreq_$0, "client could not parse XML from server");
$a.lineno = 276, dreq_$0.onstatus.sendEvent(dreq_$0);
return
};
var proxied_$2 = dreq_$0.proxied;
if (!dreq_$0.parsexml) {
$a.lineno = 291, dreq_$0.onstatus.sendEvent(dreq_$0);
return
} else if (proxied_$2 && data_$1.childNodes[0].nodeName == "error") {
$a.lineno = 294, this.setRequestError(dreq_$0, data_$1.childNodes[0].attributes["msg"]);
$a.lineno = 295, dreq_$0.onstatus.sendEvent(dreq_$0);
return
};
var headers_$3 = ($a.lineno = 302, new (lz.Param)());
var content_$4 = null;
if (proxied_$2) {
var hos_$5 = data_$1.childNodes.length > 1 && data_$1.childNodes[1].childNodes ? data_$1.childNodes[1].childNodes : null;
if (hos_$5 != null) {
for (var i_$6 = 0;i_$6 < hos_$5.length;i_$6++) {
var h_$7 = hos_$5[i_$6];
if (h_$7.attributes) $a.lineno = 314, headers_$3.addValue(h_$7.attributes.name, h_$7.attributes.value)
}};
if (data_$1.childNodes[0].childNodes) content_$4 = data_$1.childNodes[0].childNodes[0]
} else {
var hos_$5 = ($a.lineno = 319, dreq_$0.loader.getResponseHeaders());
if (hos_$5) {
$a.lineno = 321, headers_$3.addObject(hos_$5)
};
content_$4 = data_$1
};
dreq_$0.xmldata = content_$4;
dreq_$0.responseheaders = headers_$3;
$a.lineno = 329, dreq_$0.onstatus.sendEvent(dreq_$0)
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "loadResponse";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzHTTPDataProvider.lzs";
$lzsc$temp["_dbg_lineno"] = 270;
return $lzsc$temp
})()], null);
lz.HTTPDataProvider = LzHTTPDataProvider;
Class.make("LzDataset", [LzDataElementMixin, LzDataNodeMixin, LzNode], ["rawdata", null, "dataprovider", void 0, "multirequest", false, "dataRequest", null, "dataRequestClass", LzHTTPDataRequest, "dsloadDel", null, "errorstring", void 0, "reqOnInitDel", void 0, "secureport", void 0, "proxyurl", null, "onerror", LzDeclaredEvent, "ontimeout", LzDeclaredEvent, "timeout", 60000, "$lzc$set_timeout", (function () {
var $lzsc$temp = function (t_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["t", t_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 167;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.timeout = t_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_timeout";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 167;
return $lzsc$temp
})(), "postbody", null, "$lzc$set_postbody", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 189;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.postbody = s_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_postbody";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 189;
return $lzsc$temp
})(), "acceptencodings", false, "type", null, "params", null, "nsprefix", false, "getresponseheaders", false, "querytype", "GET", "$lzc$set_querytype", (function () {
var $lzsc$temp = function (reqtype_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["reqtype", reqtype_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 251;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.querytype = ($3.lineno = 251, reqtype_$0.toUpperCase())
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_querytype";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 251;
return $lzsc$temp
})(), "trimwhitespace", false, "cacheable", false, "clientcacheable", false, "querystring", null, "src", null, "$lzc$set_src", (function () {
var $lzsc$temp = function (src_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["src", src_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 296;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.src = src_$0;
if (this.autorequest) {
$3.lineno = 299, this.doRequest()
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_src";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 296;
return $lzsc$temp
})(), "autorequest", false, "$lzc$set_autorequest", (function () {
var $lzsc$temp = function (b_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["b", b_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 310;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.autorequest = b_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_autorequest";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 310;
return $lzsc$temp
})(), "request", false, "$lzc$set_request", (function () {
var $lzsc$temp = function (b_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["b", b_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 322;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.request = b_$0;
if (b_$0 && !this.isinited) {
this.reqOnInitDel = ($3.lineno = 325, new LzDelegate(this, "doRequest", this, "oninit"))
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_request";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 322;
return $lzsc$temp
})(), "headers", null, "proxied", null, "$lzc$set_proxied", (function () {
var $lzsc$temp = function (val_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["val", val_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataset.lzs";
$4.lineno = 340;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var nval_$1 = {"true": true, "false": false, "null": null, inherit: null}[val_$0];
if (nval_$1 !== void 0) {
this.proxied = nval_$1
} else {
$4.lineno = 346, Debug.warn("%w.proxied must be one of 'inherit', 'true', or 'false', but was %w", this, val_$0)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_proxied";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 340;
return $lzsc$temp
})(), "isProxied", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataset.lzs";
$2.lineno = 355;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.proxied != null ? this.proxied : canvas.proxied
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "isProxied";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 355;
return $lzsc$temp
})(), "responseheaders", null, "queuerequests", false, "oncanvas", void 0, "$lzc$set_initialdata", (function () {
var $lzsc$temp = function (d_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["d", d_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataset.lzs";
$4.lineno = 377;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (d_$0 != null) {
var e_$1 = ($4.lineno = 379, LzDataElement.stringToLzData(d_$0, this.trimwhitespace, this.nsprefix));
if (e_$1 != null) {
$4.lineno = 381, this.$lzc$set_data(e_$1.childNodes)
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_initialdata";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 377;
return $lzsc$temp
})(), "$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, args_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "args", args_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzDataset.lzs";
$6.lineno = 387;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
args_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 388, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, args_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 387;
return $lzsc$temp
})(), "construct", (function () {
var $lzsc$temp = function (parent_$0, args_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["parent", parent_$0, "args", args_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataset.lzs";
$4.lineno = 392;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.nodeType = LzDataElement.DOCUMENT_NODE;
this.ownerDocument = this;
this.attributes = {};
this.childNodes = [];
this.queuerequests = false;
this.oncanvas = parent_$0 == canvas || parent_$0 == null;
if (!("proxyurl" in args_$1)) {
this.proxyurl = ($4.lineno = 404, canvas.getProxyURL())
};
if (("timeout" in args_$1) && args_$1.timeout) {
this.timeout = args_$1.timeout
} else {
this.timeout = canvas.dataloadtimeout
};
if (("dataprovider" in args_$1) && args_$1.dataprovider) {
this.dataprovider = args_$1.dataprovider
} else {
this.dataprovider = canvas.defaultdataprovider
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($4.lineno = 419, this.nextMethod(arguments.callee, "construct"))).call(this, parent_$0, args_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 392;
return $lzsc$temp
})(), "$lzc$set_name", (function () {
var $lzsc$temp = function (name_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["name", name_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 426;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzc$set_name"] || ($3.lineno = 427, this.nextMethod(arguments.callee, "$lzc$set_name"))).call(this, name_$0);
if (name_$0 != null) {
this.nodeName = name_$0;
if (this.oncanvas) {
canvas[name_$0] = this
} else {
name_$0 = ($3.lineno = 441, this.parent.getUID()) + "." + name_$0
};
if (canvas.datasets[name_$0] != null) {
$3.lineno = 446, Debug.warn("A dataset already exists with the name '%s': %w", name_$0, canvas.datasets[name_$0])
};
canvas.datasets[name_$0] = this
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_name";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 426;
return $lzsc$temp
})(), "destroy", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 460;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 461, this.$lzc$set_childNodes([]);
this.dataRequest = null;
if (this.dsloadDel) {
$3.lineno = 465, this.dsloadDel.unregisterAll()
};
var name_$0 = this.name;
if (this.oncanvas) {
if (canvas[name_$0] === this) {
delete canvas[name_$0]
}} else {
name_$0 = ($3.lineno = 474, this.parent.getUID()) + "." + name_$0
};
if (canvas.datasets[name_$0] === this) {
delete canvas.datasets[name_$0]
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["destroy"] || ($3.lineno = 480, this.nextMethod(arguments.callee, "destroy"))).call(this)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 460;
return $lzsc$temp
})(), "getErrorString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataset.lzs";
$2.lineno = 487;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.errorstring
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getErrorString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 487;
return $lzsc$temp
})(), "getLoadTime", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 495;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var dreq_$0 = this.dataRequest;
return dreq_$0 ? dreq_$0.loadtime : 0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getLoadTime";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 495;
return $lzsc$temp
})(), "getSrc", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataset.lzs";
$2.lineno = 504;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.src
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getSrc";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 504;
return $lzsc$temp
})(), "getQueryString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataset.lzs";
$2.lineno = 512;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (typeof this.querystring == "undefined") {
return ""
} else {
return this.querystring
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getQueryString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 512;
return $lzsc$temp
})(), "getParams", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataset.lzs";
$2.lineno = 525;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.params == null) {
this.params = ($2.lineno = 527, new (lz.Param)())
};
return this.params
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getParams";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 525;
return $lzsc$temp
})(), "$lzc$set_data", (function () {
var $lzsc$temp = function (data_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["data", data_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 538;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (data_$0 == null) {
return
} else if (data_$0 instanceof Array) {
$3.lineno = 542, this.$lzc$set_childNodes(data_$0)
} else {
$3.lineno = 544, this.$lzc$set_childNodes([data_$0])
};
this.data = data_$0;
if (this.ondata.ready) $3.lineno = 549, this.ondata.sendEvent(this)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_data";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 538;
return $lzsc$temp
})(), "gotError", (function () {
var $lzsc$temp = function (e_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["e", e_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 557;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.errorstring = e_$0;
if (this.onerror.ready) $3.lineno = 559, this.onerror.sendEvent(this)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "gotError";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 557;
return $lzsc$temp
})(), "gotTimeout", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataset.lzs";
$2.lineno = 566;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.ontimeout.ready) $2.lineno = 567, this.ontimeout.sendEvent(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "gotTimeout";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 566;
return $lzsc$temp
})(), "getContext", (function () {
var $lzsc$temp = function (chgpkg_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["chgpkg", chgpkg_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 574;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
chgpkg_$0 = null
};
return this
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getContext";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 574;
return $lzsc$temp
})(), "getDataset", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataset.lzs";
$2.lineno = 582;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getDataset";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 582;
return $lzsc$temp
})(), "getPointer", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 590;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var dp_$0 = ($3.lineno = 591, new LzDatapointer(null));
dp_$0.p = ($3.lineno = 592, this.getContext());
return dp_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getPointer";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 590;
return $lzsc$temp
})(), "setQueryString", (function () {
var $lzsc$temp = function (s_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["s", s_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDataset.lzs";
$5.lineno = 604;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
this.params = null;
if (typeof s_$0 == "object") {
if (s_$0 instanceof lz.Param) {
this.querystring = ($5.lineno = 608, s_$0.toString())
} else {
var p_$1 = ($5.lineno = 610, new (lz.Param)());
for (var n_$2 in s_$0) {
$5.lineno = 612, p_$1.setValue(n_$2, s_$0[n_$2], true)
};
this.querystring = ($5.lineno = 614, p_$1.toString());
$5.lineno = 615, p_$1.destroy()
}} else {
this.querystring = s_$0
};
if (this.autorequest) {
$5.lineno = 622, this.doRequest()
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "setQueryString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 604;
return $lzsc$temp
})(), "setQueryParam", (function () {
var $lzsc$temp = function (key_$0, val_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["key", key_$0, "val", val_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataset.lzs";
$4.lineno = 633;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.querystring = null;
if (!this.params) {
this.params = ($4.lineno = 636, new (lz.Param)())
};
$4.lineno = 638, this.params.setValue(key_$0, val_$1);
if (this.autorequest) {
$4.lineno = 641, this.doRequest()
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setQueryParam";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 633;
return $lzsc$temp
})(), "setQueryParams", (function () {
var $lzsc$temp = function (obj_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["obj", obj_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 654;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.querystring = null;
if (!this.params) {
this.params = ($3.lineno = 657, new (lz.Param)())
};
if (obj_$0) {
$3.lineno = 661, this.params.addObject(obj_$0)
} else if (obj_$0 == null) {
$3.lineno = 663, this.params.remove()
};
if (obj_$0 && this.autorequest) {
$3.lineno = 667, this.doRequest()
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setQueryParams";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 654;
return $lzsc$temp
})(), "setSrc", (function () {
var $lzsc$temp = function (src_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["src", src_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 683;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 684, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 685, this.$lzc$set_src(src_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setSrc";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 683;
return $lzsc$temp
})(), "setProxyRequests", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 696;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 697, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 698, this.$lzc$set_proxied(val_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setProxyRequests";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 696;
return $lzsc$temp
})(), "setRequest", (function () {
var $lzsc$temp = function (b_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["b", b_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 707;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 708, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 709, this.$lzc$set_request(b_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setRequest";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 707;
return $lzsc$temp
})(), "setAutorequest", (function () {
var $lzsc$temp = function (b_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["b", b_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 722;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 723, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 724, this.$lzc$set_autorequest(b_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setAutorequest";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 722;
return $lzsc$temp
})(), "setPostBody", (function () {
var $lzsc$temp = function (str_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["str", str_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 732;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 733, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 734, this.$lzc$set_postbody(str_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setPostBody";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 732;
return $lzsc$temp
})(), "setQueryType", (function () {
var $lzsc$temp = function (reqtype_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["reqtype", reqtype_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 750;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 751, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 752, this.$lzc$set_querytype(reqtype_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setQueryType";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 750;
return $lzsc$temp
})(), "setInitialData", (function () {
var $lzsc$temp = function (d_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["d", d_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 758;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 759, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 760, this.$lzc$set_initialdata(d_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setInitialData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 758;
return $lzsc$temp
})(), "abort", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 795;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var dreq_$0 = this.dataRequest;
if (dreq_$0) {
$3.lineno = 798, this.dataprovider.abortLoadForRequest(dreq_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "abort";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 795;
return $lzsc$temp
})(), "doRequest", (function () {
var $lzsc$temp = function (ignore_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["ignore", ignore_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDataset.lzs";
$5.lineno = 806;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 0:
ignore_$0 = null
};
if (!this.src) return;
if (this.multirequest || this.dataRequest == null || this.queuerequests) {
this.dataRequest = ($5.lineno = 814, new (this.dataRequestClass)(this))
};
var dreq_$1 = this.dataRequest;
dreq_$1.src = this.src;
dreq_$1.timeout = this.timeout;
dreq_$1.status = LzDataRequest.READY;
dreq_$1.method = this.querytype;
dreq_$1.postbody = null;
if (this.querystring) {
dreq_$1.queryparams = ($5.lineno = 829, new (lz.Param)());
$5.lineno = 830, dreq_$1.queryparams.addObject(($5.lineno = 830, lz.Param.parseQueryString(this.querystring)))
} else {
dreq_$1.queryparams = this.params
};
if (($5.lineno = 838, this.querytype.toUpperCase()) == "POST") {
dreq_$1.postbody = this.postbody;
if (dreq_$1.queryparams) {
var lzpostbody_$2 = ($5.lineno = 852, dreq_$1.queryparams.getValue("lzpostbody"));
if (lzpostbody_$2 != null) {
$5.lineno = 854, dreq_$1.queryparams.remove("lzpostbody");
dreq_$1.postbody = lzpostbody_$2
}}};
dreq_$1.proxied = ($5.lineno = 860, this.isProxied());
dreq_$1.proxyurl = this.proxyurl;
dreq_$1.queuerequests = this.queuerequests;
dreq_$1.requestheaders = this.headers;
dreq_$1.getresponseheaders = this.getresponseheaders;
dreq_$1.secureport = this.secureport;
dreq_$1.cacheable = this.cacheable;
dreq_$1.clientcacheable = this.clientcacheable;
dreq_$1.trimwhitespace = this.trimwhitespace;
dreq_$1.nsprefix = this.nsprefix;
if (this.dsloadDel == null) {
this.dsloadDel = ($5.lineno = 877, new LzDelegate(this, "handleDataResponse", dreq_$1, "onstatus"))
} else {
$5.lineno = 879, this.dsloadDel.register(dreq_$1, "onstatus")
};
$5.lineno = 881, this.dataprovider.doRequest(dreq_$1)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "doRequest";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 806;
return $lzsc$temp
})(), "handleDataResponse", (function () {
var $lzsc$temp = function (datareq_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["datareq", datareq_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 889;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.dsloadDel != null) {
$3.lineno = 891, this.dsloadDel.unregisterFrom(datareq_$0.onstatus)
};
this.rawdata = datareq_$0.rawdata;
this.errorstring = null;
if (datareq_$0.status == LzDataRequest.SUCCESS) {
if (this.responseheaders != null) {
$3.lineno = 899, this.responseheaders.destroy()
};
this.responseheaders = datareq_$0.responseheaders;
$3.lineno = 902, this.$lzc$set_data(datareq_$0.xmldata)
} else if (datareq_$0.status == LzDataRequest.ERROR) {
$3.lineno = 904, this.gotError(datareq_$0.error)
} else if (datareq_$0.status == LzDataRequest.TIMEOUT) {
$3.lineno = 906, this.gotTimeout()
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "handleDataResponse";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 889;
return $lzsc$temp
})(), "setHeader", (function () {
var $lzsc$temp = function (k_$0, val_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["k", k_$0, "val", val_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataset.lzs";
$4.lineno = 917;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (!this.headers) {
this.headers = ($4.lineno = 919, new (lz.Param)())
};
$4.lineno = 922, this.headers.setValue(k_$0, val_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setHeader";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 917;
return $lzsc$temp
})(), "getRequestHeaderParams", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataset.lzs";
$2.lineno = 930;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.headers
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getRequestHeaderParams";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 930;
return $lzsc$temp
})(), "clearRequestHeaderParams", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataset.lzs";
$2.lineno = 937;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.headers) {
$2.lineno = 939, this.headers.remove()
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "clearRequestHeaderParams";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 937;
return $lzsc$temp
})(), "getResponseHeader", (function () {
var $lzsc$temp = function (name_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["name", name_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDataset.lzs";
$5.lineno = 952;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var headers_$1 = this.responseheaders;
if (headers_$1) {
var val_$2 = ($5.lineno = 955, headers_$1.getValues(name_$0));
if (val_$2 && val_$2.length == 1) {
return val_$2[0]
} else {
return val_$2
}};
return void 0
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "getResponseHeader";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 952;
return $lzsc$temp
})(), "getAllResponseHeaders", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataset.lzs";
$2.lineno = 971;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.responseheaders
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getAllResponseHeaders";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 971;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataset.lzs";
$2.lineno = 980;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "LzDataset " + ":" + this.name
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 980;
return $lzsc$temp
})()], ["tagname", "dataset", "attributes", new LzInheritedHash(LzNode.attributes), "slashPat", "/", "queryStringToTable", (function () {
var $lzsc$temp = function (query_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["query", query_$0];
$a.callee = arguments.callee;
$a.filename = "lfc/data/LzDataset.lzs";
$a.lineno = 767;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
var queries_$1 = {};
var parameters_$2 = ($a.lineno = 769, query_$0.split("&"));
for (var i_$3 = 0;i_$3 < parameters_$2.length;++i_$3) {
var key_$4 = parameters_$2[i_$3];
var value_$5 = "";
var n_$6 = ($a.lineno = 773, key_$4.indexOf("="));
if (n_$6 > 0) {
value_$5 = ($a.lineno = 775, unescape(($a.lineno = 775, key_$4.substring(n_$6 + 1))));
key_$4 = ($a.lineno = 776, key_$4.substring(0, n_$6))
};
if (key_$4 in queries_$1) {
var prev_$7 = queries_$1[key_$4];
if (prev_$7 instanceof Array) {
$a.lineno = 781, prev_$7.push(value_$5)
} else {
queries_$1[key_$4] = [prev_$7, value_$5]
}} else {
queries_$1[key_$4] = value_$5
}};
return queries_$1
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "queryStringToTable";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 767;
return $lzsc$temp
})()]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 89;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzDataset.attributes.name = "localdata"
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "data/LzDataset.lzs#89/1";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 89;
return $lzsc$temp
})()(LzDataset);
lz[LzDataset.tagname] = LzDataset;
Class.make("__LzHttpDatasetPoolClass", null, ["_uid", 0, "_p", [], "get", (function () {
var $lzsc$temp = function (dataDel_$0, errorDel_$1, timeoutDel_$2, acceptenc_$3) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["dataDel", dataDel_$0, "errorDel", errorDel_$1, "timeoutDel", timeoutDel_$2, "acceptenc", acceptenc_$3];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzDataset.lzs";
$7.lineno = 1007;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
switch (arguments.length) {
case 0:
dataDel_$0 = null;;case 1:
errorDel_$1 = null;;case 2:
timeoutDel_$2 = null;;case 3:
acceptenc_$3 = false
};
var dset_$4;
if (this._p.length > 0) {
dset_$4 = ($7.lineno = 1010, this._p.pop())
} else {
dset_$4 = ($7.lineno = 1012, new LzDataset(null, {name: "LzHttpDatasetPool" + this._uid, type: "http", acceptencodings: acceptenc_$3}));
this._uid++
};
if (dataDel_$0 != null) {
$7.lineno = 1015, dataDel_$0.register(dset_$4, "ondata")
};
if (errorDel_$1 != null) {
$7.lineno = 1016, errorDel_$1.register(dset_$4, "onerror")
};
if (timeoutDel_$2 != null) {
$7.lineno = 1017, timeoutDel_$2.register(dset_$4, "ontimeout")
};
return dset_$4
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "get";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 1007;
return $lzsc$temp
})(), "recycle", (function () {
var $lzsc$temp = function (dset_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["dset", dset_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataset.lzs";
$3.lineno = 1025;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1027, dset_$0.setQueryParams(null);
$3.lineno = 1028, dset_$0.$lzc$set_postbody(null);
$3.lineno = 1029, dset_$0.clearRequestHeaderParams();
$3.lineno = 1031, dset_$0.ondata.clearDelegates();
$3.lineno = 1032, dset_$0.ontimeout.clearDelegates();
$3.lineno = 1033, dset_$0.onerror.clearDelegates();
$3.lineno = 1035, dset_$0.$lzc$set_data([]);
$3.lineno = 1037, this._p.push(dset_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "recycle";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataset.lzs";
$lzsc$temp["_dbg_lineno"] = 1025;
return $lzsc$temp
})()], null);
var LzHttpDatasetPool = new __LzHttpDatasetPoolClass();
Class.make("LzDatapointer", LzNode, ["$lzc$set_xpath", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 90;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 91, this.setXPath(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_xpath";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 90;
return $lzsc$temp
})(), "$lzc$set_context", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 95;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 96, this.setDataContext(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_context";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 95;
return $lzsc$temp
})(), "$lzc$set_pointer", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 100;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 101, this.setPointer(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_pointer";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 100;
return $lzsc$temp
})(), "$lzc$set_p", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 105;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 106, this.setPointer(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_p";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 105;
return $lzsc$temp
})(), "p", null, "context", null, "__LZtracking", null, "__LZtrackDel", null, "xpath", null, "parsedPath", null, "__LZlastdotdot", null, "__LZspecialDotDot", false, "__LZdotdotCheckDel", null, "errorDel", null, "timeoutDel", null, "rerunxpath", false, "onp", LzDeclaredEvent, "onDocumentChange", LzDeclaredEvent, "onerror", LzDeclaredEvent, "ontimeout", LzDeclaredEvent, "onrerunxpath", LzDeclaredEvent, "$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzDatapointer.lzs";
$6.lineno = 202;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
parent_$0 = null;;case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 203, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 202;
return $lzsc$temp
})(), "gotError", (function () {
var $lzsc$temp = function (ds_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["ds", ds_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 211;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.onerror.ready) $3.lineno = 212, this.onerror.sendEvent(ds_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "gotError";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 211;
return $lzsc$temp
})(), "gotTimeout", (function () {
var $lzsc$temp = function (ds_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["ds", ds_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 219;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.ontimeout.ready) $3.lineno = 220, this.ontimeout.sendEvent(ds_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "gotTimeout";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 219;
return $lzsc$temp
})(), "xpathQuery", (function () {
var $lzsc$temp = function (p_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["p", p_$0];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/data/LzDatapointer.lzs";
$a.lineno = 234;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
var pp_$1 = ($a.lineno = 235, this.parsePath(p_$0));
var ppcontext_$2 = ($a.lineno = 238, pp_$1.getContext(this));
var nodes_$3 = ($a.lineno = 239, this.__LZgetNodes(pp_$1, ppcontext_$2 ? ppcontext_$2 : this.p));
if (nodes_$3 == null) return null;
if (pp_$1.aggOperator != null) {
if (pp_$1.aggOperator == "last") {
if (Array["$lzsc$isa"] ? ($a.lineno = 245, Array.$lzsc$isa(nodes_$3)) : nodes_$3 instanceof Array) {
return nodes_$3.length
} else {
if (!ppcontext_$2 && nodes_$3 === this.p) {
if (pp_$1.selectors && pp_$1.selectors.length > 0) {
var sel_$4 = pp_$1.selectors;
var i_$5 = 0;
while (sel_$4[i_$5] == "." && i_$5 < sel_$4.length) {
++i_$5
};
return i_$5 != sel_$4.length ? 1 : ($a.lineno = 259, this.__LZgetLast())
} else {
return $a.lineno = 261, this.__LZgetLast()
}} else {
return 1
}}} else if (pp_$1.aggOperator == "position") {
if (Array["$lzsc$isa"] ? ($a.lineno = 268, Array.$lzsc$isa(nodes_$3)) : nodes_$3 instanceof Array) {
var rarr_$6 = [];
for (var i_$5 = 0;i_$5 < nodes_$3.length;i_$5++) {
$a.lineno = 271, rarr_$6.push(i_$5 + 1)
};
return rarr_$6
} else {
if (!ppcontext_$2 && nodes_$3 === this.p) {
if (pp_$1.selectors && pp_$1.selectors.length > 0) {
var sel_$4 = pp_$1.selectors;
var i_$5 = 0;
while (sel_$4[i_$5] == "." && i_$5 < sel_$4.length) {
++i_$5
};
return i_$5 != sel_$4.length ? 1 : ($a.lineno = 281, this.__LZgetPosition())
} else {
return $a.lineno = 283, this.__LZgetPosition()
}} else {
return 1
}}}} else if (pp_$1.operator != null) {
if (Array["$lzsc$isa"] ? ($a.lineno = 291, Array.$lzsc$isa(nodes_$3)) : nodes_$3 instanceof Array) {
var oarr_$7 = [];
for (var i_$5 = 0;i_$5 < nodes_$3.length;i_$5++) {
$a.lineno = 294, oarr_$7.push(($a.lineno = 294, this.__LZprocessOperator(nodes_$3[i_$5], pp_$1)))
};
return oarr_$7
} else {
return $a.lineno = 298, this.__LZprocessOperator(nodes_$3, pp_$1)
}} else {
return nodes_$3
}}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "xpathQuery";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 234;
return $lzsc$temp
})(), "$lzc$xpathQuery_dependencies", (function () {
var $lzsc$temp = function (who_$0, self_$1, p_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["who", who_$0, "self", self_$1, "p", p_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzDatapointer.lzs";
$6.lineno = 305;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (this["parsePath"]) {
var pp_$3 = ($6.lineno = 307, this.parsePath(p_$2));
return [pp_$3.hasDotDot ? ($6.lineno = 308, self_$1.context.getContext()).ownerDocument : self_$1, "DocumentChange"]
} else {
return [self_$1, "DocumentChange"]
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzc$xpathQuery_dependencies";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 305;
return $lzsc$temp
})(), "setPointer", (function () {
var $lzsc$temp = function (p_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["p", p_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDatapointer.lzs";
$5.lineno = 322;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
$5.lineno = 323, this.setXPath(null);
if (p_$0 != null) {
$5.lineno = 325, this.setDataContext(p_$0.ownerDocument)
} else {
$5.lineno = 327, this.__LZsetTracking(null)
};
var dc_$1 = this.data != p_$0;
var pc_$2 = this.p != p_$0;
this.p = p_$0;
this.data = p_$0;
$5.lineno = 336, this.__LZsendUpdate(dc_$1, pc_$2);
return p_$0 != null
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "setPointer";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 322;
return $lzsc$temp
})(), "getDataset", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 344;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.p == null) {
if (this.context === this) {
return null
} else {
return $2.lineno = 349, this.context.getDataset()
}} else {
return this.p.ownerDocument
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getDataset";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 344;
return $lzsc$temp
})(), "setXPath", (function () {
var $lzsc$temp = function (p_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["p", p_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDatapointer.lzs";
$4.lineno = 370;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (!p_$0) {
this.xpath = null;
this.parsedPath = null;
if (this.p) $4.lineno = 375, this.__LZsetTracking(this.p.ownerDocument);
return false
};
this.xpath = p_$0;
this.parsedPath = ($4.lineno = 380, this.parsePath(p_$0));
var ppcontext_$1 = ($4.lineno = 381, this.parsedPath.getContext(this));
if (this.rerunxpath && this.parsedPath.hasDotDot && !ppcontext_$1) {
this.__LZspecialDotDot = true
} else {
if (this.__LZdotdotCheckDel) {
$4.lineno = 390, this.__LZdotdotCheckDel.unregisterAll()
}};
$4.lineno = 394, this.setDataContext(ppcontext_$1);
return $4.lineno = 396, this.runXPath()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setXPath";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 370;
return $lzsc$temp
})(), "runXPath", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDatapointer.lzs";
$4.lineno = 400;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (!this.parsedPath) {
return false
};
var newc_$0 = null;
if (this.context && ((LzDatapointer["$lzsc$isa"] ? ($4.lineno = 408, LzDatapointer.$lzsc$isa(this.context)) : this.context instanceof LzDatapointer) || (LzDataset["$lzsc$isa"] ? ($4.lineno = 408, LzDataset.$lzsc$isa(this.context)) : this.context instanceof LzDataset) || (AnonDatasetGenerator["$lzsc$isa"] ? ($4.lineno = 408, AnonDatasetGenerator.$lzsc$isa(this.context)) : this.context instanceof AnonDatasetGenerator))) {
newc_$0 = ($4.lineno = 409, this.context.getContext())
};
if (newc_$0) {
var n_$1 = ($4.lineno = 413, this.__LZgetNodes(this.parsedPath, newc_$0, 0))
} else {
var n_$1 = null
};
if (n_$1 == null) {
$4.lineno = 420, this.__LZHandleNoNodes();
return false
} else if (Array["$lzsc$isa"] ? ($4.lineno = 422, Array.$lzsc$isa(n_$1)) : n_$1 instanceof Array) {
$4.lineno = 423, this.__LZHandleMultiNodes(n_$1);
return false
} else {
$4.lineno = 426, this.__LZHandleSingleNode(n_$1);
return true
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "runXPath";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 400;
return $lzsc$temp
})(), "__LZsetupDotDot", (function () {
var $lzsc$temp = function (p_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["p", p_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 432;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.__LZlastdotdot != p_$0.ownerDocument) {
if (this.__LZdotdotCheckDel == null) {
this.__LZdotdotCheckDel = ($3.lineno = 437, new LzDelegate(this, "__LZcheckDotDot"))
} else {
$3.lineno = 439, this.__LZdotdotCheckDel.unregisterAll()
};
this.__LZlastdotdot = p_$0.ownerDocument;
$3.lineno = 443, this.__LZdotdotCheckDel.register(this.__LZlastdotdot, "onDocumentChange")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZsetupDotDot";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 432;
return $lzsc$temp
})(), "__LZHandleSingleNode", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 448;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.__LZspecialDotDot) $3.lineno = 449, this.__LZsetupDotDot(n_$0);
this.__LZupdateLocked = true;
this.__LZpchanged = n_$0 != this.p;
this.p = n_$0;
$3.lineno = 457, this.__LZsetData();
this.__LZupdateLocked = false;
$3.lineno = 461, this.__LZsendUpdate()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZHandleSingleNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 448;
return $lzsc$temp
})(), "__LZHandleNoNodes", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDatapointer.lzs";
$4.lineno = 465;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var pc_$0 = this.p != null;
var dc_$1 = this.data != null;
this.p = null;
this.data = null;
$4.lineno = 470, this.__LZsendUpdate(dc_$1, pc_$0)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZHandleNoNodes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 465;
return $lzsc$temp
})(), "__LZHandleMultiNodes", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 475;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 477, Debug.error("%w matched %d nodes", this, n_$0.length);
$3.lineno = 479, this.__LZHandleNoNodes();
return null
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZHandleMultiNodes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 475;
return $lzsc$temp
})(), "__LZsetData", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 485;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.parsedPath && this.parsedPath.aggOperator != null) {
if (this.parsedPath.aggOperator == "last") {
this.data = ($2.lineno = 488, this.__LZgetLast());
$2.lineno = 489, this.__LZsendUpdate(true)
} else if (this.parsedPath.aggOperator == "position") {
this.data = ($2.lineno = 491, this.__LZgetPosition());
$2.lineno = 492, this.__LZsendUpdate(true)
}} else if (this.parsedPath && this.parsedPath.operator != null) {
$2.lineno = 495, this.__LZsimpleOperatorUpdate()
} else {
if (this.data != this.p) {
this.data = this.p;
$2.lineno = 499, this.__LZsendUpdate(true)
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__LZsetData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 485;
return $lzsc$temp
})(), "__LZgetLast", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 505;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var ctx_$0 = this.context;
if (ctx_$0 == null || ctx_$0 === this || !(LzDatapointer["$lzsc$isa"] ? ($3.lineno = 507, LzDatapointer.$lzsc$isa(ctx_$0)) : ctx_$0 instanceof LzDatapointer)) {
return 1
} else {
return ($3.lineno = 510, ctx_$0.__LZgetLast()) || 1
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZgetLast";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 505;
return $lzsc$temp
})(), "__LZgetPosition", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 515;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var ctx_$0 = this.context;
if (ctx_$0 == null || ctx_$0 === this || !(LzDatapointer["$lzsc$isa"] ? ($3.lineno = 517, LzDatapointer.$lzsc$isa(ctx_$0)) : ctx_$0 instanceof LzDatapointer)) {
return 1
} else {
return ($3.lineno = 520, ctx_$0.__LZgetPosition()) || 1
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZgetPosition";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 515;
return $lzsc$temp
})(), "__LZupdateLocked", false, "__LZpchanged", false, "__LZdchanged", false, "__LZsendUpdate", (function () {
var $lzsc$temp = function (upd_$0, upp_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["upd", upd_$0, "upp", upp_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDatapointer.lzs";
$4.lineno = 532;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
upd_$0 = false;;case 1:
upp_$1 = false
};
this.__LZdchanged = upd_$0 || this.__LZdchanged;
this.__LZpchanged = upp_$1 || this.__LZpchanged;
if (this.__LZupdateLocked) {
return false
};
if (this.__LZdchanged) {
if (this.ondata.ready) $4.lineno = 543, this.ondata.sendEvent(this.data);
this.__LZdchanged = false
};
if (this.__LZpchanged) {
if (this.onp.ready) $4.lineno = 548, this.onp.sendEvent(this.p);
this.__LZpchanged = false;
if (this.onDocumentChange.ready) $4.lineno = 550, this.onDocumentChange.sendEvent({who: this.p, type: 2, what: "context"})
};
return true
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZsendUpdate";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 532;
return $lzsc$temp
})(), "isValid", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 561;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.p != null
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "isValid";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 561;
return $lzsc$temp
})(), "__LZsimpleOperatorUpdate", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDatapointer.lzs";
$4.lineno = 566;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var ndat_$0 = this.p != null ? ($4.lineno = 567, this.__LZprocessOperator(this.p, this.parsedPath)) : void 0;
var dchanged_$1 = false;
if (this.data != ndat_$0 || this.parsedPath.operator == "attributes") {
this.data = ndat_$0;
dchanged_$1 = true
};
$4.lineno = 574, this.__LZsendUpdate(dchanged_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZsimpleOperatorUpdate";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 566;
return $lzsc$temp
})(), "parsePath", (function () {
var $lzsc$temp = function (pa_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["pa", pa_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzDatapointer.lzs";
$6.lineno = 591;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (LzDatapath["$lzsc$isa"] ? ($6.lineno = 592, LzDatapath.$lzsc$isa(pa_$0)) : pa_$0 instanceof LzDatapath) {
var xp_$1 = pa_$0.xpath
} else {
var xp_$1 = pa_$0
};
var ppc_$2 = LzDatapointer.ppcache;
var q_$3 = ppc_$2[xp_$1];
if (q_$3 == null) {
q_$3 = ($6.lineno = 601, new LzParsedPath(xp_$1, this));
ppc_$2[xp_$1] = q_$3
};
return q_$3
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "parsePath";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 591;
return $lzsc$temp
})(), "getLocalDataContext", (function () {
var $lzsc$temp = function (pp_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["pp", pp_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzDatapointer.lzs";
$6.lineno = 612;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var n_$1 = this.parent;
if (pp_$0) {
var a_$2 = pp_$0;
for (var i_$3 = 0;i_$3 < a_$2.length && n_$1 != null;i_$3++) {
n_$1 = n_$1[a_$2[i_$3]]
};
if (n_$1 != null && !(LzDataset["$lzsc$isa"] ? ($6.lineno = 619, LzDataset.$lzsc$isa(n_$1)) : n_$1 instanceof LzDataset) && (LzDataset["$lzsc$isa"] ? ($6.lineno = 619, LzDataset.$lzsc$isa(n_$1["localdata"])) : n_$1["localdata"] instanceof LzDataset)) {
n_$1 = n_$1["localdata"];
return n_$1
}};
if (n_$1 != null && (LzDataset["$lzsc$isa"] ? ($6.lineno = 625, LzDataset.$lzsc$isa(n_$1)) : n_$1 instanceof LzDataset)) {
return n_$1
} else {
$6.lineno = 629, Debug.warn('local dataset "%w" not found in %w', pp_$0, this.parent);
return null
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "getLocalDataContext";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 612;
return $lzsc$temp
})(), "__LZgetNodes", (function () {
var $lzsc$temp = function (pathobj_$0, p_$1, startpoint_$2) {
var $k = Debug;
var $l = $k.backtraceStack;
try {
if ($l) {
var $m = ["pathobj", pathobj_$0, "p", p_$1, "startpoint", startpoint_$2];
$m.callee = arguments.callee;
$m["this"] = this;
$m.filename = "lfc/data/LzDatapointer.lzs";
$m.lineno = 643;
$l.push($m);
if ($l.length > $l.maxDepth) {
$k.stackOverflow()
}};
switch (arguments.length) {
case 2:
startpoint_$2 = 0
};
if (p_$1 == null) {
$m.lineno = 647, Debug.info("%s: p is null in %s", arguments.callee, this);
return null
};
if (pathobj_$0.selectors != null) {
var pathlen_$3 = pathobj_$0.selectors.length;
for (var i_$4 = startpoint_$2;i_$4 < pathlen_$3;i_$4++) {
var cp_$5 = pathobj_$0.selectors[i_$4];
var specialop_$6 = LzDatapointer.pathSymbols[cp_$5] || 0;
var posnext_$7 = pathobj_$0.selectors[i_$4 + 1];
if (posnext_$7 && !(String["$lzsc$isa"] ? ($m.lineno = 661, String.$lzsc$isa(posnext_$7)) : posnext_$7 instanceof String) && posnext_$7["pred"] == "range") {
var range_$8 = pathobj_$0.selectors[++i_$4]
} else {
var range_$8 = null
};
var np_$9 = null;
if ((Object["$lzsc$isa"] ? ($m.lineno = 673, Object.$lzsc$isa(cp_$5)) : cp_$5 instanceof Object) && ("pred" in cp_$5) && null != cp_$5.pred) {
if (cp_$5.pred == "hasattr") {
p_$1 = ($m.lineno = 675, p_$1.hasAttr(cp_$5.attr)) ? p_$1 : null
} else if (cp_$5.pred == "attrval") {
if (p_$1.attributes != null) {
p_$1 = p_$1.attributes[cp_$5.attr] == cp_$5.val ? p_$1 : null
} else {
p_$1 = null
}}} else if (specialop_$6 == 0) {
np_$9 = ($m.lineno = 685, this.nodeByName(cp_$5, range_$8, p_$1))
} else if (specialop_$6 == 1) {
p_$1 = p_$1.ownerDocument
} else if (specialop_$6 == 2) {
p_$1 = p_$1.parentNode
} else if (specialop_$6 == 3) {
np_$9 = [];
if (p_$1.childNodes) {
var cnodes_$a = p_$1.childNodes;
var len_$b = cnodes_$a.length;
var rleft_$c = range_$8 != null ? range_$8[0] : 0;
var rright_$d = range_$8 != null ? range_$8[1] : len_$b;
var cnt_$e = 0;
for (var j_$f = 0;j_$f < len_$b;j_$f++) {
var cn_$g = cnodes_$a[j_$f];
if (cn_$g.nodeType == LzDataElement.ELEMENT_NODE) {
cnt_$e++;
if (cnt_$e >= rleft_$c) {
$m.lineno = 708, np_$9.push(cn_$g)
};
if (cnt_$e == rright_$d) {
break
}}}}};
if (np_$9 != null) {
if (np_$9.length > 1) {
if (i_$4 == pathlen_$3 - 1) {
return np_$9
};
var rval_$h = [];
for (var j_$f = 0;j_$f < np_$9.length;j_$f++) {
var r_$i = ($m.lineno = 730, this.__LZgetNodes(pathobj_$0, np_$9[j_$f], i_$4 + 1));
if (r_$i != null) {
if (Array["$lzsc$isa"] ? ($m.lineno = 733, Array.$lzsc$isa(r_$i)) : r_$i instanceof Array) {
for (var n_$j = 0;n_$j < r_$i.length;n_$j++) {
$m.lineno = 735, rval_$h.push(r_$i[n_$j])
}} else {
$m.lineno = 738, rval_$h.push(r_$i)
}}};
if (rval_$h.length == 0) {
return null
} else if (rval_$h.length == 1) {
return rval_$h[0]
} else {
return rval_$h
}} else {
p_$1 = np_$9[0]
}};
if (p_$1 == null) {
return null
}}};
return p_$1
}
finally {
if ($l) {
$l.length--
}}};
$lzsc$temp["displayName"] = "__LZgetNodes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 643;
return $lzsc$temp
})(), "getContext", (function () {
var $lzsc$temp = function (chgpkg_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["chgpkg", chgpkg_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 769;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
chgpkg_$0 = null
};
return this.p
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getContext";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 769;
return $lzsc$temp
})(), "nodeByName", (function () {
var $lzsc$temp = function (name_$0, range_$1, p_$2) {
var $b = Debug;
var $c = $b.backtraceStack;
try {
if ($c) {
var $d = ["name", name_$0, "range", range_$1, "p", p_$2];
$d.callee = arguments.callee;
$d["this"] = this;
$d.filename = "lfc/data/LzDatapointer.lzs";
$d.lineno = 781;
$c.push($d);
if ($c.length > $c.maxDepth) {
$b.stackOverflow()
}};
if (!p_$2) {
p_$2 = this.p;
if (!this.p) return null
};
var o_$3 = [];
if (p_$2.childNodes != null) {
var cnodes_$4 = p_$2.childNodes;
var len_$5 = cnodes_$4.length;
var rleft_$6 = range_$1 != null ? range_$1[0] : 0;
var rright_$7 = range_$1 != null ? range_$1[1] : len_$5;
var cnt_$8 = 0;
for (var i_$9 = 0;i_$9 < len_$5;i_$9++) {
var cn_$a = cnodes_$4[i_$9];
if (cn_$a.nodeName == name_$0) {
cnt_$8++;
if (cnt_$8 >= rleft_$6) {
$d.lineno = 801, o_$3.push(cn_$a)
};
if (cnt_$8 == rright_$7) {
break
}}}};
return o_$3
}
finally {
if ($c) {
$c.length--
}}};
$lzsc$temp["displayName"] = "nodeByName";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 781;
return $lzsc$temp
})(), "$lzc$set_rerunxpath", (function () {
var $lzsc$temp = function (rrx_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["rrx", rrx_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 814;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.rerunxpath = rrx_$0;
if (this.onrerunxpath.ready) $3.lineno = 817, this.onrerunxpath.sendEvent(rrx_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_rerunxpath";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 814;
return $lzsc$temp
})(), "dupePointer", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 827;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var dp_$0 = ($3.lineno = 828, new LzDatapointer());
$3.lineno = 829, dp_$0.setFromPointer(this);
return dp_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "dupePointer";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 827;
return $lzsc$temp
})(), "__LZdoSelect", (function () {
var $lzsc$temp = function (selector_$0, amnt_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["selector", selector_$0, "amnt", amnt_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDatapointer.lzs";
$5.lineno = 834;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var np_$2 = this.p;
for (;np_$2 != null && amnt_$1 > 0;amnt_$1--) {
if (np_$2.nodeType == LzDataNode.TEXT_NODE) {
if (selector_$0 == "getFirstChild") break
};
np_$2 = ($5.lineno = 840, np_$2[selector_$0]())
};
if (np_$2 != null && amnt_$1 == 0) {
$5.lineno = 843, this.setPointer(np_$2);
return true
};
return false
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZdoSelect";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 834;
return $lzsc$temp
})(), "selectNext", (function () {
var $lzsc$temp = function (amnt_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["amnt", amnt_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 856;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
amnt_$0 = null
};
return $3.lineno = 857, this.__LZdoSelect("getNextSibling", amnt_$0 ? amnt_$0 : 1)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "selectNext";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 856;
return $lzsc$temp
})(), "selectPrev", (function () {
var $lzsc$temp = function (amnt_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["amnt", amnt_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 867;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
amnt_$0 = null
};
return $3.lineno = 868, this.__LZdoSelect("getPreviousSibling", amnt_$0 ? amnt_$0 : 1)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "selectPrev";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 867;
return $lzsc$temp
})(), "selectChild", (function () {
var $lzsc$temp = function (amnt_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["amnt", amnt_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 878;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
amnt_$0 = null
};
return $3.lineno = 879, this.__LZdoSelect("getFirstChild", amnt_$0 ? amnt_$0 : 1)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "selectChild";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 878;
return $lzsc$temp
})(), "selectParent", (function () {
var $lzsc$temp = function (amnt_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["amnt", amnt_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 890;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
amnt_$0 = null
};
return $3.lineno = 891, this.__LZdoSelect("getParent", amnt_$0 ? amnt_$0 : 1)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "selectParent";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 890;
return $lzsc$temp
})(), "selectNextParent", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 895;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var op_$0 = this.p;
if (($3.lineno = 897, this.selectParent()) && ($3.lineno = 897, this.selectNext())) {
return true
} else {
$3.lineno = 900, this.setPointer(op_$0);
return false
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "selectNextParent";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 895;
return $lzsc$temp
})(), "getNodeOffset", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 911;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 913, Debug.info("%w.%s is deprecated.  Use XPath `position()` operator or LzDatapointer.getXPathIndex() instead.", this, arguments.callee);
return $2.lineno = 916, this.getXPathIndex()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getNodeOffset";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 911;
return $lzsc$temp
})(), "getXPathIndex", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 925;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.p) {
$2.lineno = 928, Debug.info("%s: p is null in %s", arguments.callee, this);
return 0
};
return ($2.lineno = 933, this.p.getOffset()) + 1
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getXPathIndex";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 925;
return $lzsc$temp
})(), "getNodeType", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 942;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.p) {
$2.lineno = 945, Debug.info("%s: p is null in %s", arguments.callee, this);
return
};
return this.p.nodeType
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getNodeType";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 942;
return $lzsc$temp
})(), "getNodeName", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 957;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.p) {
$2.lineno = 960, Debug.info("%s: p is null in %s", arguments.callee, this);
return null
};
return this.p.nodeName
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getNodeName";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 957;
return $lzsc$temp
})(), "setNodeName", (function () {
var $lzsc$temp = function (name_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["name", name_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 971;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this.p) {
$3.lineno = 974, Debug.info("%s: p is null in %s", arguments.callee, this);
return
};
if (this.p.nodeType != LzDataElement.TEXT_NODE) {
$3.lineno = 979, this.p.$lzc$set_nodeName(name_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setNodeName";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 971;
return $lzsc$temp
})(), "getNodeAttributes", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 990;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.p) {
$2.lineno = 993, Debug.info("%s: p is null in %s", arguments.callee, this);
return null
};
if (this.p.nodeType != LzDataElement.TEXT_NODE) {
return this.p.attributes
};
return null
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getNodeAttributes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 990;
return $lzsc$temp
})(), "getNodeAttribute", (function () {
var $lzsc$temp = function (name_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["name", name_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 1008;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this.p) {
$3.lineno = 1011, Debug.info("%s: p is null in %s", arguments.callee, this);
return null
};
if (this.p.nodeType != LzDataElement.TEXT_NODE) {
return this.p.attributes[name_$0]
};
return null
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getNodeAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1008;
return $lzsc$temp
})(), "setNodeAttribute", (function () {
var $lzsc$temp = function (name_$0, val_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["name", name_$0, "val", val_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDatapointer.lzs";
$4.lineno = 1027;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (!this.p) {
$4.lineno = 1030, Debug.info("%s: p is null in %s", arguments.callee, this);
return
};
if (this.p.nodeType != LzDataElement.TEXT_NODE) {
$4.lineno = 1035, this.p.setAttr(name_$0, val_$1)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setNodeAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1027;
return $lzsc$temp
})(), "deleteNodeAttribute", (function () {
var $lzsc$temp = function (name_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["name", name_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 1043;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this.p) {
$3.lineno = 1046, Debug.info("%s: p is null in %s", arguments.callee, this);
return
};
if (this.p.nodeType != LzDataElement.TEXT_NODE) {
$3.lineno = 1051, this.p.removeAttr(name_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "deleteNodeAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1043;
return $lzsc$temp
})(), "getNodeText", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 1062;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.p) {
$2.lineno = 1065, Debug.info("%s: p is null in %s", arguments.callee, this);
return null
};
if (this.p.nodeType != LzDataElement.TEXT_NODE) {
return $2.lineno = 1070, this.p.__LZgetText()
};
return null
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getNodeText";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1062;
return $lzsc$temp
})(), "setNodeText", (function () {
var $lzsc$temp = function (val_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["val", val_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzDatapointer.lzs";
$7.lineno = 1084;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (!this.p) {
$7.lineno = 1087, Debug.info("%s: p is null in %s", arguments.callee, this);
return
};
if (this.p.nodeType != LzDataElement.TEXT_NODE) {
var foundit_$1 = false;
var cnodes_$2 = this.p.childNodes;
for (var i_$3 = 0;i_$3 < cnodes_$2.length;i_$3++) {
var cn_$4 = cnodes_$2[i_$3];
if (cn_$4.nodeType == LzDataElement.TEXT_NODE) {
$7.lineno = 1099, cn_$4.$lzc$set_data(val_$0);
foundit_$1 = true;
break
}};
if (!foundit_$1) {
$7.lineno = 1106, this.p.appendChild(($7.lineno = 1106, new LzDataText(val_$0)))
}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "setNodeText";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1084;
return $lzsc$temp
})(), "getNodeCount", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 1116;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.p || this.p.nodeType == LzDataElement.TEXT_NODE) return 0;
return this.p.childNodes.length || 0
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getNodeCount";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1116;
return $lzsc$temp
})(), "addNode", (function () {
var $lzsc$temp = function (name_$0, text_$1, attrs_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["name", name_$0, "text", text_$1, "attrs", attrs_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzDatapointer.lzs";
$6.lineno = 1131;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 1:
text_$1 = null;;case 2:
attrs_$2 = null
};
if (!this.p) {
$6.lineno = 1134, Debug.info("%s: p is null in %s", arguments.callee, this);
return null
};
var nn_$3 = ($6.lineno = 1139, new LzDataElement(name_$0, attrs_$2));
if (text_$1 != null) {
$6.lineno = 1141, nn_$3.appendChild(($6.lineno = 1141, new LzDataText(text_$1)))
};
if (this.p.nodeType != LzDataElement.TEXT_NODE) {
$6.lineno = 1145, this.p.appendChild(nn_$3)
};
return nn_$3
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "addNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1131;
return $lzsc$temp
})(), "deleteNode", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 1158;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this.p) {
$3.lineno = 1161, Debug.info("%s: p is null in %s", arguments.callee, this);
return
};
var op_$0 = this.p;
if (!this.rerunxpath) {
if (!(($3.lineno = 1169, this.selectNext()) || ($3.lineno = 1169, this.selectPrev()))) {
$3.lineno = 1170, this.__LZHandleNoNodes()
}};
$3.lineno = 1174, op_$0.parentNode.removeChild(op_$0);
return op_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "deleteNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1158;
return $lzsc$temp
})(), "sendDataChange", (function () {
var $lzsc$temp = function (chgpkg_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["chgpkg", chgpkg_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 1182;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1185, ($3.lineno = 1185, this.getDataset()).sendDataChange(chgpkg_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "sendDataChange";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1182;
return $lzsc$temp
})(), "comparePointer", (function () {
var $lzsc$temp = function (ptr_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["ptr", ptr_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 1193;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return this.p == ptr_$0.p
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "comparePointer";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1193;
return $lzsc$temp
})(), "addNodeFromPointer", (function () {
var $lzsc$temp = function (dp_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["dp", dp_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDatapointer.lzs";
$4.lineno = 1203;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (!dp_$0.p) return null;
if (!this.p) {
$4.lineno = 1207, Debug.info("%s: p is null in %s", arguments.callee, this);
return null
};
var n_$1 = ($4.lineno = 1212, dp_$0.p.cloneNode(true));
if (this.p.nodeType != LzDataElement.TEXT_NODE) {
$4.lineno = 1215, this.p.appendChild(n_$1)
};
return $4.lineno = 1218, new LzDatapointer(null, {pointer: n_$1})
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "addNodeFromPointer";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1203;
return $lzsc$temp
})(), "setFromPointer", (function () {
var $lzsc$temp = function (dp_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["dp", dp_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 1226;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 1227, this.setPointer(dp_$0.p)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setFromPointer";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1226;
return $lzsc$temp
})(), "__LZprocessOperator", (function () {
var $lzsc$temp = function (p_$0, pp_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["p", p_$0, "pp", pp_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDatapointer.lzs";
$5.lineno = 1232;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (p_$0 == null) {
$5.lineno = 1235, Debug.info("%s: p is null in %s", arguments.callee, this);
return
};
var op_$2 = pp_$1.operator;
switch (op_$2) {
case "serialize":
return $5.lineno = 1244, p_$0.serialize();;case "text":
return p_$0.nodeType != LzDataElement.TEXT_NODE ? ($5.lineno = 1247, p_$0.__LZgetText()) : void 0;;case "name":
return p_$0.nodeName;;default:
if (pp_$1.hasAttrOper) {
if (p_$0.nodeType != LzDataElement.TEXT_NODE && p_$0["attributes"]) {
if (op_$2 == "attributes") {
return p_$0.attributes
} else {
return p_$0.attributes[$5.lineno = 1259, op_$2.substr(11)]
}} else {
return
}} else {
$5.lineno = 1266, Debug.error("Unknown operator '%s' in '%s'", op_$2, arguments.callee)
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZprocessOperator";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1232;
return $lzsc$temp
})(), "makeRootNode", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 1274;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 1277, new LzDataElement("root")
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "makeRootNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1274;
return $lzsc$temp
})(), "finishRootNode", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 1281;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return n_$0.childNodes[0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "finishRootNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1281;
return $lzsc$temp
})(), "makeElementNode", (function () {
var $lzsc$temp = function (attrs_$0, name_$1, par_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["attrs", attrs_$0, "name", name_$1, "par", par_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzDatapointer.lzs";
$6.lineno = 1287;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var tn_$3 = ($6.lineno = 1288, new LzDataElement(name_$1, attrs_$0));
$6.lineno = 1289, par_$2.appendChild(tn_$3);
return tn_$3
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "makeElementNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1287;
return $lzsc$temp
})(), "makeTextNode", (function () {
var $lzsc$temp = function (text_$0, par_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["text", text_$0, "par", par_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDatapointer.lzs";
$5.lineno = 1294;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var tn_$2 = ($5.lineno = 1295, new LzDataText(text_$0));
$5.lineno = 1296, par_$1.appendChild(tn_$2);
return tn_$2
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "makeTextNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1294;
return $lzsc$temp
})(), "serialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 1325;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.p == null) {
$2.lineno = 1328, Debug.info("%s: p is null in %s", arguments.callee, this);
return null
};
return $2.lineno = 1332, this.p.serialize()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "serialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1325;
return $lzsc$temp
})(), "setDataContext", (function () {
var $lzsc$temp = function (dc_$0, ignore_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["dc", dc_$0, "ignore", ignore_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDatapointer.lzs";
$5.lineno = 1349;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 1:
ignore_$1 = false
};
if (dc_$0 == null) {
this.context = this;
if (this.p) {
$5.lineno = 1353, this.__LZsetTracking(this.p.ownerDocument)
}} else if (this.context != dc_$0) {
this.context = dc_$0;
if (this.errorDel != null) {
$5.lineno = 1360, this.errorDel.unregisterAll();
$5.lineno = 1361, this.timeoutDel.unregisterAll()
};
$5.lineno = 1364, this.__LZsetTracking(dc_$0);
var hasxpath_$2 = this.xpath != null;
if (hasxpath_$2) {
if (this.errorDel == null) {
this.errorDel = ($5.lineno = 1370, new LzDelegate(this, "gotError"));
this.timeoutDel = ($5.lineno = 1371, new LzDelegate(this, "gotTimeout"))
};
$5.lineno = 1373, this.errorDel.register(dc_$0, "onerror");
$5.lineno = 1374, this.timeoutDel.register(dc_$0, "ontimeout")
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "setDataContext";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1349;
return $lzsc$temp
})(), "__LZcheckChange", (function () {
var $lzsc$temp = function (chgpkg_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["chgpkg", chgpkg_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 1380;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!this.rerunxpath) {
if (!this.p || chgpkg_$0.who == this.context) {
$3.lineno = 1384, this.runXPath()
} else if ($3.lineno = 1385, this.__LZneedsOpUpdate(chgpkg_$0)) {
$3.lineno = 1387, this.__LZsimpleOperatorUpdate()
};
return false
} else {
if (chgpkg_$0.type == 2 || (chgpkg_$0.type == 0 || chgpkg_$0.type == 1 && this.parsedPath && this.parsedPath.hasOpSelector) && (this.parsedPath && this.parsedPath.hasDotDot || this.p == null || ($3.lineno = 1399, this.p.childOfNode(chgpkg_$0.who)))) {
$3.lineno = 1401, this.runXPath();
return true
} else if ($3.lineno = 1403, this.__LZneedsOpUpdate(chgpkg_$0)) {
$3.lineno = 1404, this.__LZsimpleOperatorUpdate()
};
return false
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZcheckChange";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1380;
return $lzsc$temp
})(), "__LZneedsOpUpdate", (function () {
var $lzsc$temp = function (chgpkg_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["chgpkg", chgpkg_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzDatapointer.lzs";
$6.lineno = 1411;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
chgpkg_$0 = null
};
var ppath_$1 = this.parsedPath;
if (ppath_$1 != null && ppath_$1.operator != null) {
var who_$2 = chgpkg_$0.who;
var type_$3 = chgpkg_$0.type;
if (ppath_$1.operator != "text") {
return type_$3 == 1 && who_$2 == this.p
} else {
return type_$3 == 0 && who_$2 == this.p || who_$2.parentNode == this.p && who_$2.nodeType == LzDataElement.TEXT_NODE
}} else {
return false
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "__LZneedsOpUpdate";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1411;
return $lzsc$temp
})(), "__LZcheckDotDot", (function () {
var $lzsc$temp = function (chgpkg_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["chgpkg", chgpkg_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDatapointer.lzs";
$5.lineno = 1432;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var who_$1 = chgpkg_$0.who;
var type_$2 = chgpkg_$0.type;
if ((type_$2 == 0 || type_$2 == 1 && this.parsedPath.hasOpSelector) && ($5.lineno = 1443, ($5.lineno = 1443, this.context.getContext()).childOfNode(who_$1))) {
$5.lineno = 1444, this.runXPath()
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZcheckDotDot";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1432;
return $lzsc$temp
})(), "destroy", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 1450;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 1451, this.__LZsetTracking(null);
if (this.errorDel) $2.lineno = 1452, this.errorDel.unregisterAll();
if (this.timeoutDel) $2.lineno = 1453, this.timeoutDel.unregisterAll();
if (this.__LZdotdotCheckDel) {
$2.lineno = 1456, this.__LZdotdotCheckDel.unregisterAll()
};
this.p = null;
this.data = null;
this.__LZlastdotdot = null;
this.context = null;
this.__LZtracking = null;
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["destroy"] || ($2.lineno = 1464, this.nextMethod(arguments.callee, "destroy"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1450;
return $lzsc$temp
})(), "__LZsetTracking", (function () {
var $lzsc$temp = function (who_$0, force_$1, needscheck_$2) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["who", who_$0, "force", force_$1, "needscheck", needscheck_$2];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/data/LzDatapointer.lzs";
$8.lineno = 1478;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
switch (arguments.length) {
case 1:
force_$1 = false;;case 2:
needscheck_$2 = false
};
var tracking_$3 = this.__LZtracking;
var trackDel_$4 = this.__LZtrackDel;
if (who_$0) {
if (tracking_$3 != null && tracking_$3.length > 1) {
$8.lineno = 1487, Debug.error("%w.__LZtracking is %w, expecting an array of length 1", this, this.__LZtracking)
};
if (tracking_$3 != null && tracking_$3.length == 1 && tracking_$3[0] === who_$0) {
return
};
if (trackDel_$4) {
$8.lineno = 1498, trackDel_$4.unregisterAll()
};
var hasxpath_$5 = force_$1 || this.xpath;
if (hasxpath_$5) {
if (!trackDel_$4) {
this.__LZtrackDel = trackDel_$4 = ($8.lineno = 1506, new LzDelegate(this, "__LZcheckChange"))
};
this.__LZtracking = tracking_$3 = [who_$0];
$8.lineno = 1510, trackDel_$4.register(who_$0, "onDocumentChange")
}} else {
this.__LZtracking = [];
if (trackDel_$4) {
$8.lineno = 1515, this.__LZtrackDel.unregisterAll()
}}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "__LZsetTracking";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1478;
return $lzsc$temp
})()], ["tagname", "datapointer", "attributes", {ignoreplacement: true}, "ppcache", {}, "pathSymbols", {"/": 1, "..": 2, "*": 3, ".": 4}]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapointer.lzs";
$3.lineno = 76;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzDatapointer.prototype._dbg_name = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapointer.lzs";
$2.lineno = 1338;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.p) {
return $2.lineno = 1340, this.p._dbg_name()
};
return null
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "data/LzDatapointer.lzs#1338/37";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 1338;
return $lzsc$temp
})()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "data/LzDatapointer.lzs#76/1";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapointer.lzs";
$lzsc$temp["_dbg_lineno"] = 76;
return $lzsc$temp
})()(LzDatapointer);
lz[LzDatapointer.tagname] = LzDatapointer;
Class.make("LzParam", LzEventable, ["d", null, "delimiter", "&", "$lzc$set_delimiter", (function () {
var $lzsc$temp = function (d_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["d", d_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzParam.lzs";
$3.lineno = 47;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 47, this.setDelimiter(d_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_delimiter";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 47;
return $lzsc$temp
})(), "separator", "=", "$lzc$set_separator", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzParam.lzs";
$3.lineno = 53;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 53, this.setSeparator(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_separator";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 53;
return $lzsc$temp
})(), "$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzParam.lzs";
$2.lineno = 58;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 59, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.d = {}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 58;
return $lzsc$temp
})(), "parseQueryString", (function () {
var $lzsc$temp = function (query_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["query", query_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzParam.lzs";
$3.lineno = 91;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 93, Debug.info(this, ".parseQueryString is deprecated. Use lz.Param.parseQueryString instead");
return $3.lineno = 95, lz.Param.parseQueryString(query_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "parseQueryString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 91;
return $lzsc$temp
})(), "addObject", (function () {
var $lzsc$temp = function (o_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["o", o_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzParam.lzs";
$4.lineno = 103;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
for (var n_$1 in o_$0) {
$4.lineno = 105, this.setValue(n_$1, o_$0[n_$1])
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "addObject";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 103;
return $lzsc$temp
})(), "clone", (function () {
var $lzsc$temp = function (arg_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["arg", arg_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzParam.lzs";
$5.lineno = 114;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 0:
arg_$0 = null
};
if (arg_$0) $5.lineno = 117, Debug.info("%w.%s is deprecated. Do not pass as argument to clone()", this, arguments.callee);
var o_$1 = ($5.lineno = 119, new (lz.Param)());
for (var n_$2 in this.d) {
o_$1.d[n_$2] = ($5.lineno = 121, this.d[n_$2].concat())
};
return o_$1
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "clone";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 114;
return $lzsc$temp
})(), "remove", (function () {
var $lzsc$temp = function (name_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["name", name_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzParam.lzs";
$4.lineno = 132;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
name_$0 = null
};
if (name_$0 == null) {
this.d = {}} else {
var a_$1 = this.d[name_$0];
if (a_$1 != null) {
$4.lineno = 140, a_$1.shift();
if (!a_$1.length) {
delete this.d[name_$0]
}}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "remove";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 132;
return $lzsc$temp
})(), "setValue", (function () {
var $lzsc$temp = function (name_$0, val_$1, enc_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["name", name_$0, "val", val_$1, "enc", enc_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzParam.lzs";
$5.lineno = 156;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 2:
enc_$2 = false
};
if (enc_$2) val_$1 = ($5.lineno = 157, encodeURIComponent(val_$1));
this.d[name_$0] = [val_$1]
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "setValue";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 156;
return $lzsc$temp
})(), "addValue", (function () {
var $lzsc$temp = function (name_$0, val_$1, enc_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["name", name_$0, "val", val_$1, "enc", enc_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzParam.lzs";
$6.lineno = 169;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 2:
enc_$2 = false
};
if (enc_$2) val_$1 = ($6.lineno = 170, encodeURIComponent(val_$1));
var a_$3 = this.d[name_$0];
if (a_$3 == null) {
this.d[name_$0] = [val_$1]
} else {
$6.lineno = 177, a_$3.push(val_$1)
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "addValue";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 169;
return $lzsc$temp
})(), "getValue", (function () {
var $lzsc$temp = function (name_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["name", name_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzParam.lzs";
$4.lineno = 187;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var a_$1 = this.d[name_$0];
if (a_$1 != null) {
return a_$1[0]
};
return null
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "getValue";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 187;
return $lzsc$temp
})(), "getValues", (function () {
var $lzsc$temp = function (name_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["name", name_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzParam.lzs";
$4.lineno = 201;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var a_$1 = this.d[name_$0];
if (a_$1 != null) {
return $4.lineno = 204, a_$1.concat()
};
return null
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "getValues";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 201;
return $lzsc$temp
})(), "getValueNoCase", (function () {
var $lzsc$temp = function (name_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["name", name_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzParam.lzs";
$4.lineno = 216;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
$4.lineno = 219, Debug.deprecated(this, arguments.callee, this.getValues);
var a_$1 = ($4.lineno = 221, this.getValues(name_$0));
return a_$1 != null && a_$1.length == 1 ? a_$1[0] : a_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "getValueNoCase";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 216;
return $lzsc$temp
})(), "getNames", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzParam.lzs";
$4.lineno = 230;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var o_$0 = [];
for (var n_$1 in this.d) {
$4.lineno = 233, o_$0.push(n_$1)
};
return o_$0
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "getNames";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 230;
return $lzsc$temp
})(), "setDelimiter", (function () {
var $lzsc$temp = function (d_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["d", d_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzParam.lzs";
$4.lineno = 244;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var o_$1 = this.delimiter;
this.delimiter = d_$0;
return o_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setDelimiter";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 244;
return $lzsc$temp
})(), "setSeparator", (function () {
var $lzsc$temp = function (s_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["s", s_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzParam.lzs";
$4.lineno = 258;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var o_$1 = this.separator;
this.separator = s_$0;
return o_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setSeparator";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 258;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzParam.lzs";
$2.lineno = 269;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 270, this.serialize()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 269;
return $lzsc$temp
})(), "serialize", (function () {
var $lzsc$temp = function (sep_$0, delim_$1, uriencode_$2) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["sep", sep_$0, "delim", delim_$1, "uriencode", uriencode_$2];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/data/LzParam.lzs";
$b.lineno = 281;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
switch (arguments.length) {
case 0:
sep_$0 = null;;case 1:
delim_$1 = null;;case 2:
uriencode_$2 = false
};
var sep_$0 = sep_$0 == null ? this.separator : sep_$0;
var dlm_$3 = delim_$1 == null ? this.delimiter : delim_$1;
var o_$4 = "";
var c_$5 = false;
for (var mk_$6 in this.d) {
var n_$7 = this.d[mk_$6];
if (n_$7 != null) {
for (var i_$8 = 0;i_$8 < n_$7.length;++i_$8) {
if (c_$5) o_$4 += dlm_$3;
o_$4 += mk_$6 + sep_$0 + (uriencode_$2 ? ($b.lineno = 293, encodeURIComponent(n_$7[i_$8])) : n_$7[i_$8]);
c_$5 = true
}}};
return o_$4
}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "serialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 281;
return $lzsc$temp
})()], ["parseQueryString", (function () {
var $lzsc$temp = function (query_$0) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["query", query_$0];
$9.callee = arguments.callee;
$9.filename = "lfc/data/LzParam.lzs";
$9.lineno = 68;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var queries_$1 = {};
if (!query_$0) return queries_$1;
var parameters_$2 = ($9.lineno = 71, query_$0.split("&"));
for (var i_$3 = 0;i_$3 < parameters_$2.length;++i_$3) {
var key_$4 = parameters_$2[i_$3];
var value_$5 = "";
var n_$6 = ($9.lineno = 75, key_$4.indexOf("="));
if (n_$6 > 0) {
value_$5 = ($9.lineno = 77, unescape(($9.lineno = 77, key_$4.substring(n_$6 + 1))));
key_$4 = ($9.lineno = 78, key_$4.substring(0, n_$6))
};
queries_$1[key_$4] = value_$5
};
return queries_$1
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "parseQueryString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParam.lzs";
$lzsc$temp["_dbg_lineno"] = 68;
return $lzsc$temp
})()]);
lz.Param = LzParam;
Class.make("LzParsedPath", null, ["path", null, "selectors", null, "context", null, "dsetname", null, "dsrcname", null, "islocaldata", null, "operator", null, "aggOperator", null, "hasAttrOper", false, "hasOpSelector", false, "hasDotDot", false, "getContext", (function () {
var $lzsc$temp = function (dp_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["dp", dp_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzParsedPath.lzs";
$3.lineno = 104;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.context != null) {
return this.context
} else {
if (this.islocaldata != null) {
return $3.lineno = 109, dp_$0.getLocalDataContext(this.islocaldata)
} else {
if (this.dsrcname != null) {
return canvas[this.dsrcname][this.dsetname]
} else {
if (this.dsetname != null) {
return canvas.datasets[this.dsetname]
}}}};
return null
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getContext";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParsedPath.lzs";
$lzsc$temp["_dbg_lineno"] = 104;
return $lzsc$temp
})(), "$lzsc$initialize", (function () {
var $lzsc$temp = function (pa_$0, node_$1) {
var $n = Debug;
var $o = $n.backtraceStack;
try {
if ($o) {
var $p = ["pa", pa_$0, "node", node_$1];
$p.callee = arguments.callee;
$p["this"] = this;
$p.filename = "lfc/data/LzParsedPath.lzs";
$p.lineno = 123;
$o.push($p);
if ($o.length > $o.maxDepth) {
$n.stackOverflow()
}};
this.path = pa_$0;
this.selectors = [];
var sourceindex_$2 = ($p.lineno = 127, pa_$0.indexOf(":/"));
if (sourceindex_$2 > -1) {
var sourceparts_$3 = ($p.lineno = 131, ($p.lineno = 131, pa_$0.substring(0, sourceindex_$2)).split(":"));
if (sourceparts_$3.length > 1) {
var dsrc_$4 = ($p.lineno = 133, LzParsedPath.trim(sourceparts_$3[0]));
var dset_$5 = ($p.lineno = 134, LzParsedPath.trim(sourceparts_$3[1]));
if (dsrc_$4 == "local") {
this.islocaldata = ($p.lineno = 136, dset_$5.split("."))
} else {
if (canvas[dsrc_$4][dset_$5] == null) {
$p.lineno = 142, Debug.error("couldn't find dataset for %w (canvas[%#w][%#w])", pa_$0, dsrc_$4, dset_$5)
};
this.dsrcname = dsrc_$4;
this.dsetname = dset_$5
}} else {
var name_$6 = ($p.lineno = 149, LzParsedPath.trim(sourceparts_$3[0]));
if (name_$6 == "new") {
this.context = ($p.lineno = 152, new AnonDatasetGenerator(this))
} else {
if (canvas.datasets[name_$6] == null) {
$p.lineno = 161, Debug.error("couldn't find dataset for %w (canvas.datasets[%#w])", pa_$0, name_$6)
};
this.dsetname = name_$6
}};
var rest_$7 = ($p.lineno = 168, pa_$0.substring(sourceindex_$2 + 2))
} else {
var rest_$7 = pa_$0
};
var nodes_$8 = [];
var currnode_$9 = "";
var instring_$a = false;
var escape_$b = false;
for (var i_$c = 0;i_$c < rest_$7.length;i_$c++) {
var c_$d = ($p.lineno = 181, rest_$7.charAt(i_$c));
if (c_$d == "\\" && escape_$b == false) {
escape_$b = true;
continue
} else if (escape_$b == true) {
escape_$b = false;
currnode_$9 += c_$d;
continue
} else if (instring_$a == false && c_$d == "/") {
$p.lineno = 193, nodes_$8.push(currnode_$9);
currnode_$9 = "";
continue
} else if (c_$d == "'") {
instring_$a = instring_$a ? false : true
};
currnode_$9 += c_$d
};
$p.lineno = 201, nodes_$8.push(currnode_$9);
if (nodes_$8 != null) {
for (var i_$c = 0;i_$c < nodes_$8.length;i_$c++) {
var cnode_$e = ($p.lineno = 206, LzParsedPath.trim(nodes_$8[i_$c]));
if (i_$c == nodes_$8.length - 1) {
if (($p.lineno = 210, cnode_$e.charAt(0)) == "@") {
this.hasAttrOper = true;
if (($p.lineno = 213, cnode_$e.charAt(1)) == "*") {
this.operator = "attributes"
} else {
this.operator = "attributes." + ($p.lineno = 217, cnode_$e.substring(1, cnode_$e.length))
};
continue
} else if (($p.lineno = 220, cnode_$e.charAt(cnode_$e.length - 1)) == ")") {
if (($p.lineno = 222, cnode_$e.indexOf("last")) > -1) {
this.aggOperator = "last"
} else if (($p.lineno = 224, cnode_$e.indexOf("position")) > -1) {
this.aggOperator = "position"
} else if (($p.lineno = 226, cnode_$e.indexOf("name")) > -1) {
this.operator = "name"
} else if (($p.lineno = 228, cnode_$e.indexOf("text")) > -1) {
this.operator = "text"
} else if (($p.lineno = 230, cnode_$e.indexOf("serialize")) > -1) {
this.operator = "serialize"
} else {
$p.lineno = 233, Debug.warn("Unknown operator: '%s'", cnode_$e)
};
continue
} else if (cnode_$e == "") {
continue
}};
var preds_$f = ($p.lineno = 243, cnode_$e.split("["));
var n_$g = ($p.lineno = 244, LzParsedPath.trim(preds_$f[0]));
$p.lineno = 245, this.selectors.push(n_$g == "" ? "/" : n_$g);
if (n_$g == "" || n_$g == "..") {
this.hasDotDot = true
};
if (preds_$f != null) {
for (var j_$h = 1;j_$h < preds_$f.length;j_$h++) {
var pred_$i = ($p.lineno = 252, LzParsedPath.trim(preds_$f[j_$h]));
pred_$i = ($p.lineno = 253, pred_$i.substring(0, pred_$i.length - 1));
if (($p.lineno = 256, ($p.lineno = 256, LzParsedPath.trim(pred_$i)).charAt(0)) == "@") {
var attrpred_$j = ($p.lineno = 258, pred_$i.split("="));
var a_$k;
var tattr_$l = ($p.lineno = 260, ($p.lineno = 260, attrpred_$j.shift()).substring(1));
if (attrpred_$j.length > 0) {
var aval_$m = ($p.lineno = 263, LzParsedPath.trim(($p.lineno = 263, attrpred_$j.join("="))));
aval_$m = ($p.lineno = 264, aval_$m.substring(1, aval_$m.length - 1));
a_$k = {pred: "attrval", attr: ($p.lineno = 266, LzParsedPath.trim(tattr_$l)), val: ($p.lineno = 267, LzParsedPath.trim(aval_$m))}} else {
a_$k = {pred: "hasattr", attr: ($p.lineno = 270, LzParsedPath.trim(tattr_$l))}};
$p.lineno = 274, this.selectors.push(a_$k);
this.hasOpSelector = true
} else {
var a_$k = ($p.lineno = 279, pred_$i.split("-"));
a_$k[0] = ($p.lineno = 281, LzParsedPath.trim(a_$k[0]));
if (a_$k[0] == "") {
a_$k[0] = 1
};
if (a_$k[1] != null) {
a_$k[1] = ($p.lineno = 289, LzParsedPath.trim(a_$k[1]))
};
if (a_$k[1] == "") {
a_$k[1] = Infinity
} else if (a_$k.length == 1) {
a_$k[1] = a_$k[0]
};
a_$k.pred = "range";
$p.lineno = 299, this.selectors.push(a_$k)
}}}}}}
finally {
if ($o) {
$o.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParsedPath.lzs";
$lzsc$temp["_dbg_lineno"] = 123;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzParsedPath.lzs";
$2.lineno = 330;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "Parsed path for path: " + this.path
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParsedPath.lzs";
$lzsc$temp["_dbg_lineno"] = 330;
return $lzsc$temp
})(), "debugWrite", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzParsedPath.lzs";
$2.lineno = 339;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 341, Debug.write(this);
$2.lineno = 342, Debug.write("  c:" + this.context + "|");
$2.lineno = 343, Debug.write("  n:" + ($2.lineno = 343, this.selectors.join("|")) + "|");
$2.lineno = 344, Debug.write("  d:" + this.operator + "|");
$2.lineno = 345, Debug.write("  ")
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "debugWrite";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParsedPath.lzs";
$lzsc$temp["_dbg_lineno"] = 339;
return $lzsc$temp
})()], ["trim", (function () {
var $lzsc$temp = function (s_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["s", s_$0];
$6.callee = arguments.callee;
$6.filename = "lfc/data/LzParsedPath.lzs";
$6.lineno = 310;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var st_$1 = 0;
var dotrim_$2 = false;
while (($6.lineno = 313, s_$0.charAt(st_$1)) == " ") {
st_$1++;
dotrim_$2 = true
};
var len_$3 = s_$0.length - st_$1;
while (($6.lineno = 320, s_$0.charAt(st_$1 + len_$3 - 1)) == " ") {
len_$3--;
dotrim_$2 = true
};
return dotrim_$2 ? ($6.lineno = 325, s_$0.substr(st_$1, len_$3)) : s_$0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "trim";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParsedPath.lzs";
$lzsc$temp["_dbg_lineno"] = 310;
return $lzsc$temp
})()]);
Class.make("AnonDatasetGenerator", LzEventable, ["pp", null, "__LZdepChildren", null, "onDocumentChange", LzDeclaredEvent, "onerror", LzDeclaredEvent, "ontimeout", LzDeclaredEvent, "noncontext", true, "$lzsc$initialize", (function () {
var $lzsc$temp = function (pp_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["pp", pp_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzParsedPath.lzs";
$3.lineno = 392;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($3.lineno = 393, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.pp = pp_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParsedPath.lzs";
$lzsc$temp["_dbg_lineno"] = 392;
return $lzsc$temp
})(), "getContext", (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzParsedPath.lzs";
$6.lineno = 401;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var d_$0 = ($6.lineno = 403, new LzDataset(null, {name: null}));
var ppsel_$1 = this.pp.selectors;
if (ppsel_$1 != null) {
var dp_$2 = ($6.lineno = 407, d_$0.getPointer());
for (var i_$3 = 0;i_$3 < ppsel_$1.length;i_$3++) {
if (ppsel_$1[i_$3] == "/") continue;
$6.lineno = 411, dp_$2.addNode(ppsel_$1[i_$3]);
$6.lineno = 412, dp_$2.selectChild()
}};
return d_$0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "getContext";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParsedPath.lzs";
$lzsc$temp["_dbg_lineno"] = 401;
return $lzsc$temp
})(), "getDataset", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzParsedPath.lzs";
$2.lineno = 423;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return null
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getDataset";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzParsedPath.lzs";
$lzsc$temp["_dbg_lineno"] = 423;
return $lzsc$temp
})()], null);
Class.make("LzDatapath", LzDatapointer, ["datacontrolsvisibility", true, "$lzc$set_datacontrolsvisibility", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapath.lzs";
$3.lineno = 108;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.datacontrolsvisibility = v_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_datacontrolsvisibility";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 108;
return $lzsc$temp
})(), "__LZtakeDPSlot", true, "storednodes", null, "__LZneedsUpdateAfterInit", false, "__LZdepChildren", null, "sel", false, "__LZisclone", false, "pooling", false, "replication", void 0, "axis", "y", "spacing", 0, "sortpath", void 0, "$lzc$set_sortpath", (function () {
var $lzsc$temp = function (xpath_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["xpath", xpath_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapath.lzs";
$3.lineno = 212;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 213, this.setOrder(xpath_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_sortpath";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 212;
return $lzsc$temp
})(), "setOrder", (function () {
var $lzsc$temp = function (xpath_$0, comparator_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["xpath", xpath_$0, "comparator", comparator_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDatapath.lzs";
$4.lineno = 226;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
comparator_$1 = null
};
if (this.__LZisclone) {
$4.lineno = 228, this.immediateparent.cloneManager.setOrder(xpath_$0, comparator_$1)
} else {
this.sortpath = xpath_$0;
if (comparator_$1 != null) {
this.sortorder = comparator_$1
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setOrder";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 226;
return $lzsc$temp
})(), "sortorder", "ascending", "$lzc$set_sortorder", (function () {
var $lzsc$temp = function (comparator_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["comparator", comparator_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapath.lzs";
$3.lineno = 251;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 252, this.setComparator(comparator_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_sortorder";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 251;
return $lzsc$temp
})(), "setComparator", (function () {
var $lzsc$temp = function (comparator_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["comparator", comparator_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapath.lzs";
$3.lineno = 265;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.__LZisclone) {
$3.lineno = 267, this.immediateparent.cloneManager.setComparator(comparator_$0)
} else {
this.sortorder = comparator_$0
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setComparator";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 265;
return $lzsc$temp
})(), "$lzsc$initialize", (function () {
var $lzsc$temp = function (v_$0, args_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["v", v_$0, "args", args_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzDatapath.lzs";
$6.lineno = 276;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 1:
args_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 277, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, v_$0, args_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 276;
return $lzsc$temp
})(), "construct", (function () {
var $lzsc$temp = function (v_$0, args_$1) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["v", v_$0, "args", args_$1];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/data/LzDatapath.lzs";
$8.lineno = 281;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
this.rerunxpath = true;
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($8.lineno = 284, this.nextMethod(arguments.callee, "construct"))).call(this, v_$0, args_$1);
if (args_$1.datacontrolsvisibility != null) {
this.datacontrolsvisibility = args_$1.datacontrolsvisibility
};
if (this.__LZtakeDPSlot) {
if (this.immediateparent.datapath != null) {
$8.lineno = 293, Debug.warn("overriding datapath %w with %w", this.immediateparent.datapath, this)
};
this.immediateparent.datapath = this;
var pdp_$2 = ($8.lineno = 297, this.immediateparent.searchParents("datapath")).datapath;
if (pdp_$2 != null) {
var tarr_$3 = pdp_$2.__LZdepChildren;
if (tarr_$3 != null) {
pdp_$2.__LZdepChildren = [];
for (var i_$4 = tarr_$3.length - 1;i_$4 >= 0;i_$4--) {
var c_$5 = tarr_$3[i_$4];
if (c_$5 !== this && !(LzDataAttrBind["$lzsc$isa"] ? ($8.lineno = 307, LzDataAttrBind.$lzsc$isa(c_$5)) : c_$5 instanceof LzDataAttrBind) && c_$5.immediateparent != this.immediateparent && ($8.lineno = 309, c_$5.immediateparent.childOf(this.immediateparent))) {
$8.lineno = 310, c_$5.setDataContext(this, true)
} else {
$8.lineno = 312, pdp_$2.__LZdepChildren.push(c_$5)
}}}} else {
$8.lineno = 317, Debug.warn("unexpected state for '%w', couldn't find parent-datapath!", this)
}}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 281;
return $lzsc$temp
})(), "__LZHandleMultiNodes", (function () {
var $lzsc$temp = function (nodes_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["nodes", nodes_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDatapath.lzs";
$5.lineno = 325;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var clonetype_$1;
if (this.replication == "lazy") {
clonetype_$1 = LzLazyReplicationManager
} else if (this.replication == "resize") {
clonetype_$1 = LzResizeReplicationManager
} else {
clonetype_$1 = LzReplicationManager
};
this.storednodes = nodes_$0;
var rman_$2 = ($5.lineno = 342, new clonetype_$1(this, this._instanceAttrs));
this.storednodes = null;
return rman_$2
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZHandleMultiNodes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 325;
return $lzsc$temp
})(), "setNodes", (function () {
var $lzsc$temp = function (nodes_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["nodes", nodes_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzDatapath.lzs";
$7.lineno = 359;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var rman_$1 = ($7.lineno = 360, this.__LZHandleMultiNodes(nodes_$0));
if (!rman_$1) rman_$1 = this;
$7.lineno = 366, rman_$1.__LZsetTracking(null);
if (nodes_$0) {
for (var i_$2 = 0;i_$2 < nodes_$0.length;i_$2++) {
var n_$3 = nodes_$0[i_$2];
var own_$4 = n_$3.ownerDocument;
$7.lineno = 374, rman_$1.__LZsetTracking(own_$4, true, n_$3 != own_$4)
}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "setNodes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 359;
return $lzsc$temp
})(), "__LZsendUpdate", (function () {
var $lzsc$temp = function (upd_$0, upp_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["upd", upd_$0, "upp", upp_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDatapath.lzs";
$5.lineno = 382;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 0:
upd_$0 = false;;case 1:
upp_$1 = false
};
var pchg_$2 = this.__LZpchanged;
if (!(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["__LZsendUpdate"] || ($5.lineno = 384, this.nextMethod(arguments.callee, "__LZsendUpdate"))).call(this, upd_$0, upp_$1)) {
return false
};
if (this.immediateparent.isinited) {
$5.lineno = 389, this.__LZApplyData(pchg_$2)
} else {
this.__LZneedsUpdateAfterInit = true
};
return true
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZsendUpdate";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 382;
return $lzsc$temp
})(), "__LZApplyDataOnInit", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapath.lzs";
$2.lineno = 401;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.__LZneedsUpdateAfterInit) {
$2.lineno = 403, this.__LZApplyData();
this.__LZneedsUpdateAfterInit = false
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__LZApplyDataOnInit";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 401;
return $lzsc$temp
})(), "__LZApplyData", (function () {
var $lzsc$temp = function (force_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["force", force_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzDatapath.lzs";
$7.lineno = 411;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
switch (arguments.length) {
case 0:
force_$0 = false
};
var ip_$1 = this.immediateparent;
if (this.datacontrolsvisibility) {
if (LzView["$lzsc$isa"] ? ($7.lineno = 415, LzView.$lzsc$isa(ip_$1)) : ip_$1 instanceof LzView) {
var ipview_$2 = ip_$1;
ipview_$2.__LZvizDat = this.p != null;
$7.lineno = 418, ipview_$2.__LZupdateShown()
}};
var cdat_$3 = force_$0 || ip_$1.data != this.data || this.parsedPath && this.parsedPath.operator == "attributes";
this.data = this.data == null ? null : this.data;
ip_$1.data = this.data;
if (cdat_$3) {
if (ip_$1.ondata.ready) $7.lineno = 430, ip_$1.ondata.sendEvent(this.data);
var ppath_$4 = this.parsedPath;
if (ppath_$4 && (ppath_$4.operator != null || ppath_$4.aggOperator != null)) {
$7.lineno = 434, ip_$1.applyData(this.data)
}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "__LZApplyData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 411;
return $lzsc$temp
})(), "setDataContext", (function () {
var $lzsc$temp = function (dc_$0, implicit_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["dc", dc_$0, "implicit", implicit_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzDatapath.lzs";
$6.lineno = 442;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 1:
implicit_$1 = false
};
if (dc_$0 == null && this.immediateparent != null) {
dc_$0 = ($6.lineno = 444, this.immediateparent.searchParents("datapath")).datapath;
implicit_$1 = true
} else {
if (this.immediateparent == null) {
$6.lineno = 448, Debug.warn("immediateparent is null for %w in '%s'", this, arguments.callee)
}};
if (dc_$0 == this.context) return;
if (implicit_$1) {
if (dc_$0.__LZdepChildren == null) {
dc_$0.__LZdepChildren = [this]
} else {
$6.lineno = 458, dc_$0.__LZdepChildren.push(this)
}} else {
if (this.context && (LzDatapath["$lzsc$isa"] ? ($6.lineno = 463, LzDatapath.$lzsc$isa(this.context)) : this.context instanceof LzDatapath)) {
var dclist_$2 = this.context.__LZdepChildren;
if (dclist_$2) {
for (var i_$3 = 0;i_$3 < dclist_$2.length;i_$3++) {
if (dclist_$2[i_$3] === this) {
$6.lineno = 469, dclist_$2.splice(i_$3, 1);
break
}}}}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["setDataContext"] || ($6.lineno = 477, this.nextMethod(arguments.callee, "setDataContext"))).call(this, dc_$0)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "setDataContext";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 442;
return $lzsc$temp
})(), "destroy", (function () {
var $lzsc$temp = function () {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = [];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/data/LzDatapath.lzs";
$8.lineno = 485;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
this.__LZupdateLocked = true;
var context_$0 = this.context;
if (context_$0 && !context_$0.__LZdeleted && (LzDatapath["$lzsc$isa"] ? ($8.lineno = 489, LzDatapath.$lzsc$isa(context_$0)) : context_$0 instanceof LzDatapath)) {
var dca_$1 = context_$0.__LZdepChildren;
if (dca_$1 != null) {
for (var i_$2 = 0;i_$2 < dca_$1.length;i_$2++) {
if (dca_$1[i_$2] === this) {
$8.lineno = 496, dca_$1.splice(i_$2, 1);
break
}}}};
var ip_$3 = this.immediateparent;
if (!ip_$3.__LZdeleted) {
var depChildren_$4 = this.__LZdepChildren;
if (depChildren_$4 != null && depChildren_$4.length > 0) {
var dnpar_$5 = ($8.lineno = 511, ip_$3.searchParents("datapath")).datapath;
for (var i_$2 = 0;i_$2 < depChildren_$4.length;i_$2++) {
$8.lineno = 514, depChildren_$4[i_$2].setDataContext(dnpar_$5, true)
};
this.__LZdepChildren = null
}};
if (ip_$3.datapath === this) {
ip_$3.datapath = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["destroy"] || ($8.lineno = 525, this.nextMethod(arguments.callee, "destroy"))).apply(this, arguments)
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "destroy";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 485;
return $lzsc$temp
})(), "updateData", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapath.lzs";
$2.lineno = 549;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 550, this.__LZupdateData()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "updateData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 549;
return $lzsc$temp
})(), "__LZupdateData", (function () {
var $lzsc$temp = function (recursive_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["recursive", recursive_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzDatapath.lzs";
$7.lineno = 556;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
switch (arguments.length) {
case 0:
recursive_$0 = false
};
if (!recursive_$0 && this.p) {
$7.lineno = 558, this.p.__LZlockFromUpdate(this)
};
var ppdo_$1 = this.parsedPath ? this.parsedPath.operator : null;
if (ppdo_$1 != null) {
var dat_$2 = ($7.lineno = 563, this.immediateparent.updateData());
if (dat_$2 !== void 0) {
if (ppdo_$1 == "name") {
$7.lineno = 566, this.setNodeName(dat_$2)
} else if (ppdo_$1 == "text") {
$7.lineno = 568, this.setNodeText(dat_$2)
} else if (ppdo_$1 == "attributes") {
$7.lineno = 570, this.p.$lzc$set_attributes(dat_$2)
} else {
$7.lineno = 573, this.setNodeAttribute(($7.lineno = 573, ppdo_$1.substring(11)), dat_$2)
}}};
var depChildren_$3 = this.__LZdepChildren;
if (depChildren_$3 != null) {
for (var i_$4 = 0;i_$4 < depChildren_$3.length;i_$4++) {
$7.lineno = 582, depChildren_$3[i_$4].__LZupdateData(true)
}};
if (!recursive_$0 && this.p) {
$7.lineno = 587, this.p.__LZunlockFromUpdate(this)
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "__LZupdateData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 556;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDatapath.lzs";
$2.lineno = 594;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "Datapath for " + this.immediateparent
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 594;
return $lzsc$temp
})(), "__LZcheckChange", (function () {
var $lzsc$temp = function (chgpkg_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["chgpkg", chgpkg_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapath.lzs";
$3.lineno = 601;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["__LZcheckChange"] || ($3.lineno = 602, this.nextMethod(arguments.callee, "__LZcheckChange"))).call(this, chgpkg_$0)) {
if (($3.lineno = 603, chgpkg_$0.who.childOfNode(this.p, true)) && this.onDocumentChange.ready) {
$3.lineno = 604, this.onDocumentChange.sendEvent(chgpkg_$0)
}};
return false
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZcheckChange";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 601;
return $lzsc$temp
})(), "__LZsetTracking", (function () {
var $lzsc$temp = function (who_$0, additive_$1, needscheck_$2) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["who", who_$0, "additive", additive_$1, "needscheck", needscheck_$2];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/data/LzDatapath.lzs";
$9.lineno = 623;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
switch (arguments.length) {
case 1:
additive_$1 = false;;case 2:
needscheck_$2 = false
};
if (!who_$0 || !additive_$1) {
return (arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["__LZsetTracking"] || ($9.lineno = 628, this.nextMethod(arguments.callee, "__LZsetTracking"))).call(this, who_$0, true)
};
var tracking_$3 = this.__LZtracking;
var trackDel_$4 = this.__LZtrackDel;
if (!(tracking_$3 instanceof Array)) {
$9.lineno = 636, Debug.error("%w.__LZtracking is %w, expecting an array", this, tracking_$3)
};
if (needscheck_$2) {
var len_$5 = tracking_$3.length;
for (var i_$6 = 0;i_$6 < len_$5;i_$6++) {
if (tracking_$3[i_$6] === who_$0) {
return
}}};
if (!trackDel_$4) {
this.__LZtrackDel = trackDel_$4 = ($9.lineno = 652, new LzDelegate(this, "__LZcheckChange"))
};
$9.lineno = 655, tracking_$3.push(who_$0);
$9.lineno = 656, trackDel_$4.register(who_$0, "onDocumentChange")
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "__LZsetTracking";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 623;
return $lzsc$temp
})(), "$lzc$set___LZmanager", (function () {
var $lzsc$temp = function (m_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["m", m_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapath.lzs";
$3.lineno = 663;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.__LZisclone = true;
this.immediateparent.cloneManager = m_$0;
this.parsedPath = m_$0.parsedPath;
this.xpath = m_$0.xpath;
$3.lineno = 668, this.setDataContext(m_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set___LZmanager";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 663;
return $lzsc$temp
})(), "setClonePointer", (function () {
var $lzsc$temp = function (p_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["p", p_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDatapath.lzs";
$4.lineno = 675;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var pc_$1 = this.p != p_$0;
this.p = p_$0;
if (pc_$1) {
if (p_$0 && this.sel != p_$0.sel) {
this.sel = p_$0.sel || false;
$4.lineno = 685, this.immediateparent.setSelected(this.sel)
};
this.__LZpchanged = true;
$4.lineno = 689, this.__LZsetData()
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setClonePointer";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 675;
return $lzsc$temp
})(), "setSelected", (function () {
var $lzsc$temp = function (torf_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["torf", torf_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapath.lzs";
$3.lineno = 696;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.p.sel = torf_$0;
this.sel = torf_$0;
$3.lineno = 700, this.immediateparent.setSelected(torf_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setSelected";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 696;
return $lzsc$temp
})(), "__LZgetLast", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapath.lzs";
$3.lineno = 706;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var context_$0 = this.context;
if (this.__LZisclone) {
return context_$0.nodes.length
} else if (this.p == ($3.lineno = 710, context_$0.getContext()) && (LzDatapointer["$lzsc$isa"] ? ($3.lineno = 711, LzDatapointer.$lzsc$isa(context_$0)) : context_$0 instanceof LzDatapointer)) {
return $3.lineno = 712, context_$0.__LZgetLast()
} else {
return 1
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZgetLast";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 706;
return $lzsc$temp
})(), "__LZgetPosition", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDatapath.lzs";
$3.lineno = 721;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.__LZisclone) {
return this.immediateparent.clonenumber + 1
} else {
var context_$0 = this.context;
if (this.p == ($3.lineno = 726, context_$0.getContext()) && (LzDatapointer["$lzsc$isa"] ? ($3.lineno = 727, LzDatapointer.$lzsc$isa(context_$0)) : context_$0 instanceof LzDatapointer)) {
return $3.lineno = 728, context_$0.__LZgetPosition()
} else {
return 1
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZgetPosition";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDatapath.lzs";
$lzsc$temp["_dbg_lineno"] = 721;
return $lzsc$temp
})()], ["tagname", "datapath", "attributes", new LzInheritedHash(LzDatapointer.attributes)]);
lz[LzDatapath.tagname] = LzDatapath;
Class.make("LzReplicationManager", LzDatapath, ["asyncnew", true, "initialnodes", void 0, "clonePool", void 0, "cloneClass", void 0, "cloneParent", void 0, "cloneAttrs", void 0, "cloneChildren", void 0, "hasdata", void 0, "orderpath", void 0, "comparator", void 0, "__LZxpathconstr", null, "__LZxpathdepend", null, "visible", true, "__LZpreventXPathUpdate", false, "nodes", void 0, "clones", void 0, "__LZdataoffset", 0, "onnodes", LzDeclaredEvent, "onclones", LzDeclaredEvent, "onvisible", LzDeclaredEvent, "$lzsc$initialize", (function () {
var $lzsc$temp = function (odp_$0, args_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["odp", odp_$0, "args", args_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzReplicationManager.lzs";
$6.lineno = 169;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 2:
children_$2 = null;;case 3:
instcall_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 171, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, odp_$0, args_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 169;
return $lzsc$temp
})(), "getDefaultPooling", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzReplicationManager.lzs";
$2.lineno = 175;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return false
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getDefaultPooling";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 175;
return $lzsc$temp
})(), "construct", (function () {
var $lzsc$temp = function (odp_$0, args_$1) {
var $e = Debug;
var $f = $e.backtraceStack;
try {
if ($f) {
var $g = ["odp", odp_$0, "args", args_$1];
$g.callee = arguments.callee;
$g["this"] = this;
$g.filename = "lfc/data/LzReplicationManager.lzs";
$g.lineno = 180;
$f.push($g);
if ($f.length > $f.maxDepth) {
$e.stackOverflow()
}};
this.pooling = ($g.lineno = 181, this.getDefaultPooling());
this.__LZtakeDPSlot = false;
this.datacontrolsvisibility = false;
var view_$2 = odp_$0.immediateparent;
this.classroot = view_$2.classroot;
if (view_$2 === canvas) {
this.nodes = [];
this.clones = [];
this.clonePool = [];
$g.lineno = 194, Debug.error("LzReplicationManager constructed at canvas. A datapath cannot be defined on the canvas");
return
};
this.datapath = this;
var name_$3 = view_$2.name;
if (name_$3 != null) {
args_$1.name = name_$3;
view_$2.immediateparent[name_$3] = null;
view_$2.parent[name_$3] = null
};
var idbinder_$4 = view_$2.$lzc$bind_id;
if (idbinder_$4 != null) {
$g.lineno = 216, idbinder_$4.call(null, view_$2, false);
view_$2.$lzc$bind_id = null;
this.$lzc$bind_id = idbinder_$4;
$g.lineno = 219, idbinder_$4.call(null, this)
};
var namebinder_$5 = view_$2.$lzc$bind_name;
if (namebinder_$5 != null) {
$g.lineno = 224, namebinder_$5.call(null, view_$2, false);
view_$2.$lzc$bind_name = null;
this.$lzc$bind_name = namebinder_$5;
$g.lineno = 227, namebinder_$5.call(null, this)
};
args_$1.xpath = LzNode._ignoreAttribute;
if (odp_$0.sortpath != null) {
args_$1.sortpath = odp_$0.sortpath
};
if (odp_$0.sortorder != null || odp_$0.sortorder) {
args_$1.sortorder = odp_$0.sortorder
};
this.initialnodes = odp_$0.storednodes;
if (odp_$0.__LZspecialDotDot) {
this.__LZspecialDotDot = true;
if (odp_$0.__LZdotdotCheckDel) {
$g.lineno = 247, odp_$0.__LZdotdotCheckDel.unregisterAll()
};
odp_$0.__LZspecialDotDot = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($g.lineno = 253, this.nextMethod(arguments.callee, "construct"))).call(this, view_$2.parent, args_$1);
if (args_$1.name != null && view_$2.parent != view_$2.immediateparent) {
view_$2.immediateparent[args_$1.name] = this
};
this.xpath = odp_$0.xpath;
this.parsedPath = odp_$0.parsedPath;
this.cloneClass = view_$2.constructor;
this.cloneParent = view_$2.parent;
var cloneAttrs_$6 = ($g.lineno = 269, new LzInheritedHash(view_$2._instanceAttrs));
cloneAttrs_$6.datapath = LzNode._ignoreAttribute;
cloneAttrs_$6.$datapath = {"class": lz.datapath};
cloneAttrs_$6.$datapath.attrs = {datacontrolsvisibility: odp_$0.datacontrolsvisibility, __LZmanager: this};
delete cloneAttrs_$6.id;
delete cloneAttrs_$6.name;
delete cloneAttrs_$6.$lzc$bind_id;
delete cloneAttrs_$6.$lzc$bind_name;
this.cloneAttrs = cloneAttrs_$6;
if (odp_$0.datacontrolsvisibility) {
this.visible = true
} else {
if (!view_$2.isinited) {
var vis_$7 = ($g.lineno = 296, this.__LZgetInstanceAttr(view_$2, "visible"));
if (typeof vis_$7 == "boolean" || (Boolean["$lzsc$isa"] ? ($g.lineno = 297, Boolean.$lzsc$isa(vis_$7)) : vis_$7 instanceof Boolean)) {
this.visible = vis_$7
} else {
this.visible = view_$2.visible
}} else {
this.visible = view_$2.visible
}};
if (args_$1.pooling != null) {
this.pooling = args_$1.pooling
};
var dp_$8 = ($g.lineno = 311, this.__LZgetInstanceAttr(view_$2, "datapath"));
if (LzAlwaysExpr["$lzsc$isa"] ? ($g.lineno = 312, LzAlwaysExpr.$lzsc$isa(dp_$8)) : dp_$8 instanceof LzAlwaysExpr) {
var dpCons_$9 = dp_$8;
this.__LZxpathconstr = view_$2[dpCons_$9.methodName];
this.__LZxpathdepend = view_$2[dpCons_$9.dependenciesName];
this.__LZpreventXPathUpdate = true;
$g.lineno = 326, this.applyConstraintExpr(($g.lineno = 326, new LzAlwaysExpr("__LZxpathconstr", "__LZxpathdepend")));
this.__LZpreventXPathUpdate = false;
if (this.pooling) {
$g.lineno = 331, view_$2.releaseConstraintMethod(dpCons_$9.methodName)
}} else {
var xp_$a = ($g.lineno = 334, this.__LZgetInstanceAttr(odp_$0, "xpath"));
if (LzAlwaysExpr["$lzsc$isa"] ? ($g.lineno = 335, LzAlwaysExpr.$lzsc$isa(xp_$a)) : xp_$a instanceof LzAlwaysExpr) {
var refObj_$b = ($g.lineno = 342, new LzRefNode(this));
var xpCons_$c = xp_$a;
refObj_$b.__LZxpathconstr = odp_$0[xpCons_$c.methodName];
refObj_$b.__LZxpathdepend = odp_$0[xpCons_$c.dependenciesName];
this.__LZpreventXPathUpdate = true;
$g.lineno = 352, refObj_$b.applyConstraintExpr(($g.lineno = 352, new LzAlwaysExpr("__LZxpathconstr", "__LZxpathdepend")));
this.__LZpreventXPathUpdate = false;
if (this.pooling) {
$g.lineno = 357, odp_$0.releaseConstraintMethod(xpCons_$c.methodName)
}}};
$g.lineno = 362, this.__LZsetCloneAttrs();
if (view_$2._instanceChildren) {
this.cloneChildren = ($g.lineno = 365, view_$2._instanceChildren.concat())
} else {
this.cloneChildren = []
};
var mycontext_$d = odp_$0.context;
this.clones = [];
this.clonePool = [];
if (this.pooling) {
$g.lineno = 377, odp_$0.$lzc$set___LZmanager(this);
$g.lineno = 378, this.clones.push(view_$2);
$g.lineno = 383, view_$2.immediateparent.addSubview(view_$2)
} else {
$g.lineno = 385, this.destroyClone(view_$2)
};
$g.lineno = 388, this.setDataContext(mycontext_$d, mycontext_$d instanceof LzDatapointer)
}
finally {
if ($f) {
$f.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 180;
return $lzsc$temp
})(), "__LZgetInstanceAttr", (function () {
var $lzsc$temp = function (node_$0, attr_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["node", node_$0, "attr", attr_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzReplicationManager.lzs";
$6.lineno = 394;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var ia_$2 = node_$0._instanceAttrs;
if (ia_$2 && (attr_$1 in ia_$2)) {
return ia_$2[attr_$1]
} else {
var ca_$3 = node_$0["constructor"].attributes;
if (ca_$3 && (attr_$1 in ca_$3)) {
return ca_$3[attr_$1]
}};
return void 0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "__LZgetInstanceAttr";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 394;
return $lzsc$temp
})(), "__LZsetCloneAttrs", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzReplicationManager.lzs";
$2.lineno = 414;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__LZsetCloneAttrs";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 414;
return $lzsc$temp
})(), "__LZapplyArgs", (function () {
var $lzsc$temp = function (args_$0, constcall_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["args", args_$0, "constcall", constcall_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzReplicationManager.lzs";
$4.lineno = 419;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
constcall_$1 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["__LZapplyArgs"] || ($4.lineno = 420, this.nextMethod(arguments.callee, "__LZapplyArgs"))).call(this, args_$0, constcall_$1);
if (this.__LZdeleted) {
return
};
$4.lineno = 424, this.__LZHandleMultiNodes(this.initialnodes);
this.initialnodes = null;
if (this.visible == false) {
$4.lineno = 430, this.$lzc$set_visible(false)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZapplyArgs";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 419;
return $lzsc$temp
})(), "setDataContext", (function () {
var $lzsc$temp = function (p_$0, implicit_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["p", p_$0, "implicit", implicit_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzReplicationManager.lzs";
$4.lineno = 437;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
implicit_$1 = false
};
if (p_$0 == null && this.immediateparent != null && this.immediateparent["datapath"] != null) {
p_$0 = this.immediateparent.datapath;
implicit_$1 = true
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["setDataContext"] || ($4.lineno = 442, this.nextMethod(arguments.callee, "setDataContext"))).call(this, p_$0, implicit_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setDataContext";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 437;
return $lzsc$temp
})(), "getCloneNumber", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzReplicationManager.lzs";
$3.lineno = 450;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return this.clones[n_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getCloneNumber";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 450;
return $lzsc$temp
})(), "__LZHandleNoNodes", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzReplicationManager.lzs";
$4.lineno = 457;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
this.nodes = [];
var cls_$0 = this.clones;
while (cls_$0.length) {
if (this.pooling) {
$4.lineno = 462, this.poolClone()
} else {
var v_$1 = ($4.lineno = 464, cls_$0.pop());
$4.lineno = 465, this.destroyClone(v_$1)
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZHandleNoNodes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 457;
return $lzsc$temp
})(), "__LZHandleSingleNode", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzReplicationManager.lzs";
$3.lineno = 473;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 474, this.__LZHandleMultiNodes([n_$0])
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZHandleSingleNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 473;
return $lzsc$temp
})(), "__LZHandleMultiNodes", (function () {
var $lzsc$temp = function (n_$0) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["n", n_$0];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/data/LzReplicationManager.lzs";
$9.lineno = 480;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var layouts_$1 = this.parent && this.parent.layouts ? this.parent.layouts : [];
for (var i_$2 = 0;i_$2 < layouts_$1.length;++i_$2) {
$9.lineno = 483, layouts_$1[i_$2].lock()
};
this.hasdata = true;
var lastnodes_$3 = this.nodes;
this.nodes = n_$0;
if (this.onnodes.ready) $9.lineno = 488, this.onnodes.sendEvent(this.nodes);
if (this.__LZspecialDotDot) $9.lineno = 490, this.__LZsetupDotDot(n_$0[0]);
if (this.orderpath != null && this.nodes) {
this.nodes = ($9.lineno = 493, this.mergesort(this.nodes, 0, this.nodes.length - 1))
};
$9.lineno = 496, this.__LZadjustVisibleClones(lastnodes_$3, true);
var len_$4 = this.clones.length;
for (var i_$2 = 0;i_$2 < len_$4;i_$2++) {
var cl_$5 = this.clones[i_$2];
var iplusoffset_$6 = i_$2 + this.__LZdataoffset;
cl_$5.clonenumber = iplusoffset_$6;
if (this.nodes) {
$9.lineno = 505, cl_$5.datapath.setClonePointer(this.nodes[iplusoffset_$6])
};
if (cl_$5.onclonenumber.ready) $9.lineno = 507, cl_$5.onclonenumber.sendEvent(iplusoffset_$6)
};
if (this.onclones.ready) $9.lineno = 509, this.onclones.sendEvent(this.clones);
for (var i_$2 = 0;i_$2 < layouts_$1.length;++i_$2) {
$9.lineno = 512, layouts_$1[i_$2].unlock()
};
return null
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "__LZHandleMultiNodes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 480;
return $lzsc$temp
})(), "__LZadjustVisibleClones", (function () {
var $lzsc$temp = function (lastnodes_$0, newnodes_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["lastnodes", lastnodes_$0, "newnodes", newnodes_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzReplicationManager.lzs";
$7.lineno = 522;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var stpt_$2 = ($7.lineno = 523, this.__LZdiffArrays(lastnodes_$0, this.nodes));
if (!this.pooling) {
while (this.clones.length > stpt_$2) {
var v_$3 = ($7.lineno = 527, this.clones.pop());
$7.lineno = 528, this.destroyClone(v_$3)
}};
$7.lineno = 534, lz.Instantiator.enableDataReplicationQueuing(this);
while (this.nodes && this.nodes.length > this.clones.length) {
var cl_$4 = ($7.lineno = 537, this.getNewClone());
if (!cl_$4) break;
$7.lineno = 540, this.clones.push(cl_$4)
};
$7.lineno = 543, lz.Instantiator.clearDataReplicationQueue(this);
while (this.nodes && this.nodes.length < this.clones.length) {
$7.lineno = 547, this.poolClone()
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "__LZadjustVisibleClones";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 522;
return $lzsc$temp
})(), "mergesort", (function () {
var $lzsc$temp = function (arr_$0, lo_$1, hi_$2) {
var $b = Debug;
var $c = $b.backtraceStack;
try {
if ($c) {
var $d = ["arr", arr_$0, "lo", lo_$1, "hi", hi_$2];
$d.callee = arguments.callee;
$d["this"] = this;
$d.filename = "lfc/data/LzReplicationManager.lzs";
$d.lineno = 560;
$c.push($d);
if ($c.length > $c.maxDepth) {
$b.stackOverflow()
}};
if (lo_$1 < hi_$2) {
var mid_$3 = lo_$1 + ($d.lineno = 562, Math.floor((hi_$2 - lo_$1) / 2));
var a_$4 = ($d.lineno = 563, this.mergesort(arr_$0, lo_$1, mid_$3));
var b_$5 = ($d.lineno = 564, this.mergesort(arr_$0, mid_$3 + 1, hi_$2))
} else if (arr_$0.length == 0) {
return []
} else {
return [arr_$0[lo_$1]]
};
var r_$6 = [];
var ia_$7 = 0;
var ib_$8 = 0;
var al_$9 = a_$4.length;
var bl_$a = b_$5.length;
while (ia_$7 < al_$9 && ib_$8 < bl_$a) {
if (($d.lineno = 578, this.orderf(b_$5[ib_$8], a_$4[ia_$7])) == 1) {
$d.lineno = 579, r_$6.push(b_$5[ib_$8++])
} else {
$d.lineno = 581, r_$6.push(a_$4[ia_$7++])
}};
while (ia_$7 < al_$9) $d.lineno = 584, r_$6.push(a_$4[ia_$7++]);
while (ib_$8 < bl_$a) $d.lineno = 585, r_$6.push(b_$5[ib_$8++]);
return r_$6
}
finally {
if ($c) {
$c.length--
}}};
$lzsc$temp["displayName"] = "mergesort";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 560;
return $lzsc$temp
})(), "orderf", (function () {
var $lzsc$temp = function (a_$0, b_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["a", a_$0, "b", b_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzReplicationManager.lzs";
$7.lineno = 593;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var op_$2 = this.orderpath;
this.p = a_$0;
var aa_$3 = ($7.lineno = 597, this.xpathQuery(op_$2));
this.p = b_$1;
var bb_$4 = ($7.lineno = 599, this.xpathQuery(op_$2));
this.p = null;
if (aa_$3 == null || aa_$3 == "") aa_$3 = "\n";
if (bb_$4 == null || bb_$4 == "") bb_$4 = "\n";
return $7.lineno = 607, this.comparator(aa_$3, bb_$4)
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "orderf";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 593;
return $lzsc$temp
})(), "ascDict", (function () {
var $lzsc$temp = function (a_$0, b_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["a", a_$0, "b", b_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzReplicationManager.lzs";
$4.lineno = 614;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (($4.lineno = 615, a_$0.toLowerCase()) < ($4.lineno = 615, b_$1.toLowerCase())) {
return 1
} else {
return 0
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "ascDict";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 614;
return $lzsc$temp
})(), "descDict", (function () {
var $lzsc$temp = function (a_$0, b_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["a", a_$0, "b", b_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzReplicationManager.lzs";
$4.lineno = 626;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (($4.lineno = 627, a_$0.toLowerCase()) > ($4.lineno = 627, b_$1.toLowerCase())) {
return 1
} else {
return 0
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "descDict";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 626;
return $lzsc$temp
})(), "setOrder", (function () {
var $lzsc$temp = function (xpath_$0, comparator_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["xpath", xpath_$0, "comparator", comparator_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzReplicationManager.lzs";
$4.lineno = 644;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
comparator_$1 = null
};
this.orderpath = null;
if (comparator_$1 != null) {
$4.lineno = 649, this.setComparator(comparator_$1)
};
this.orderpath = xpath_$0;
if (this.nodes && this.nodes.length) {
$4.lineno = 656, this.__LZHandleMultiNodes(this.nodes)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setOrder";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 644;
return $lzsc$temp
})(), "setComparator", (function () {
var $lzsc$temp = function (comparator_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["comparator", comparator_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzReplicationManager.lzs";
$3.lineno = 670;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (comparator_$0 == "descending") {
comparator_$0 = this.descDict
} else if (comparator_$0 == "ascending") {
comparator_$0 = this.ascDict
} else if (Function["$lzsc$isa"] ? ($3.lineno = 675, Function.$lzsc$isa(comparator_$0)) : comparator_$0 instanceof Function) {

} else {
$3.lineno = 678, Debug.error("Invalid comparator: %s", comparator_$0)
};
this.comparator = comparator_$0;
if (this.orderpath != null && this.nodes && this.nodes.length) {
$3.lineno = 684, this.__LZHandleMultiNodes(this.nodes)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setComparator";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 670;
return $lzsc$temp
})(), "getNewClone", (function () {
var $lzsc$temp = function (forceNew_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["forceNew", forceNew_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzReplicationManager.lzs";
$4.lineno = 691;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
forceNew_$0 = null
};
if (!this.cloneParent) {
return null
};
if (this.clonePool.length) {
var v_$1 = ($4.lineno = 696, this.reattachClone(($4.lineno = 696, this.clonePool.pop())))
} else {
var v_$1 = ($4.lineno = 698, new (this.cloneClass)(this.cloneParent, this.cloneAttrs, this.cloneChildren, forceNew_$0 == null ? this.asyncnew : !forceNew_$0))
};
if (this.visible == false) $4.lineno = 702, v_$1.$lzc$set_visible(false);
return v_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "getNewClone";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 691;
return $lzsc$temp
})(), "poolClone", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzReplicationManager.lzs";
$3.lineno = 709;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var v_$0 = ($3.lineno = 710, this.clones.pop());
$3.lineno = 711, this.detachClone(v_$0);
$3.lineno = 712, this.clonePool.push(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "poolClone";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 709;
return $lzsc$temp
})(), "destroyClone", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzReplicationManager.lzs";
$3.lineno = 720;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 721, v_$0.destroy()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "destroyClone";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 720;
return $lzsc$temp
})(), "$lzc$set_datapath", (function () {
var $lzsc$temp = function (xp_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["xp", xp_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzReplicationManager.lzs";
$3.lineno = 733;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 734, this.setXPath(xp_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_datapath";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 733;
return $lzsc$temp
})(), "setXPath", (function () {
var $lzsc$temp = function (xp_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["xp", xp_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzReplicationManager.lzs";
$3.lineno = 740;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.__LZpreventXPathUpdate) return false;
return (arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["setXPath"] || ($3.lineno = 742, this.nextMethod(arguments.callee, "setXPath"))).apply(this, arguments)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setXPath";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 740;
return $lzsc$temp
})(), "handleDeletedNode", (function () {
var $lzsc$temp = function (c_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["c", c_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzReplicationManager.lzs";
$4.lineno = 750;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var tclone_$1 = this.clones[c_$0];
if (this.pooling) {
$4.lineno = 753, this.detachClone(tclone_$1);
$4.lineno = 754, this.clonePool.push(tclone_$1)
} else {
$4.lineno = 756, this.destroyClone(tclone_$1)
};
$4.lineno = 758, this.nodes.splice(c_$0, 1);
$4.lineno = 759, this.clones.splice(c_$0, 1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "handleDeletedNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 750;
return $lzsc$temp
})(), "getCloneForNode", (function () {
var $lzsc$temp = function (p_$0, dontmake_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["p", p_$0, "dontmake", dontmake_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzReplicationManager.lzs";
$7.lineno = 767;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
switch (arguments.length) {
case 1:
dontmake_$1 = false
};
var cls_$2 = this.clones;
var len_$3 = cls_$2.length;
for (var i_$4 = 0;i_$4 < len_$3;i_$4++) {
if (cls_$2[i_$4].datapath.p == p_$0) {
return cls_$2[i_$4]
}};
return null
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "getCloneForNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 767;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzReplicationManager.lzs";
$2.lineno = 781;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "ReplicationManager in " + this.immediateparent
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 781;
return $lzsc$temp
})(), "setVisible", (function () {
var $lzsc$temp = function (vis_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["vis", vis_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzReplicationManager.lzs";
$3.lineno = 795;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 796, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 797, this.$lzc$set_visible(vis_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setVisible";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 795;
return $lzsc$temp
})(), "$lzc$set_visible", (function () {
var $lzsc$temp = function (vis_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["vis", vis_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzReplicationManager.lzs";
$6.lineno = 801;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
this.visible = vis_$0;
var cls_$1 = this.clones;
var len_$2 = cls_$1.length;
for (var i_$3 = 0;i_$3 < len_$2;i_$3++) {
$6.lineno = 806, cls_$1[i_$3].$lzc$set_visible(vis_$0)
};
if (this.onvisible.ready) $6.lineno = 808, this.onvisible.sendEvent(vis_$0)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_visible";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 801;
return $lzsc$temp
})(), "__LZcheckChange", (function () {
var $lzsc$temp = function (chgpkg_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["chgpkg", chgpkg_$0];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/data/LzReplicationManager.lzs";
$a.lineno = 814;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
this.p = this.nodes[0];
var didrun_$1 = (arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["__LZcheckChange"] || ($a.lineno = 816, this.nextMethod(arguments.callee, "__LZcheckChange"))).call(this, chgpkg_$0);
this.p = null;
if (!didrun_$1) {
var who_$2 = chgpkg_$0.who;
var cls_$3 = this.clones;
var len_$4 = cls_$3.length;
for (var i_$5 = 0;i_$5 < len_$4;i_$5++) {
var cl_$6 = cls_$3[i_$5];
var dp_$7 = cl_$6.datapath;
if ($a.lineno = 826, dp_$7.__LZneedsOpUpdate(chgpkg_$0)) {
$a.lineno = 827, dp_$7.__LZsetData()
};
if ($a.lineno = 829, who_$2.childOfNode(dp_$7.p, true)) {
if (dp_$7.onDocumentChange.ready) $a.lineno = 830, dp_$7.onDocumentChange.sendEvent(chgpkg_$0)
}}};
return false
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "__LZcheckChange";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 814;
return $lzsc$temp
})(), "__LZneedsOpUpdate", (function () {
var $lzsc$temp = function (chgpkg_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["chgpkg", chgpkg_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzReplicationManager.lzs";
$3.lineno = 840;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
chgpkg_$0 = null
};
return false
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZneedsOpUpdate";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 840;
return $lzsc$temp
})(), "getContext", (function () {
var $lzsc$temp = function (chgpkg_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["chgpkg", chgpkg_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzReplicationManager.lzs";
$3.lineno = 847;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
chgpkg_$0 = null
};
return this.nodes[0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getContext";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 847;
return $lzsc$temp
})(), "detachClone", (function () {
var $lzsc$temp = function (cl_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["cl", cl_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzReplicationManager.lzs";
$6.lineno = 854;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (cl_$0.isdetatchedclone) return;
$6.lineno = 857, cl_$0.$lzc$set_visible(false);
cl_$0.addedToParent = false;
var svs_$1 = cl_$0.immediateparent.subviews;
for (var i_$2 = svs_$1.length - 1;i_$2 >= 0;i_$2--) {
if (svs_$1[i_$2] == cl_$0) {
$6.lineno = 863, svs_$1.splice(i_$2, 1);
break
}};
$6.lineno = 868, cl_$0.datapath.__LZtrackDel.unregisterAll();
var onremsub_$3 = cl_$0.immediateparent.onremovesubview;
if (onremsub_$3.ready) $6.lineno = 870, onremsub_$3.sendEvent(cl_$0);
cl_$0.isdetatchedclone = true;
cl_$0.datapath.p = null
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "detachClone";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 854;
return $lzsc$temp
})(), "reattachClone", (function () {
var $lzsc$temp = function (cl_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["cl", cl_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzReplicationManager.lzs";
$3.lineno = 878;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (!cl_$0.isdetatchedclone) return cl_$0;
$3.lineno = 881, cl_$0.immediateparent.addSubview(cl_$0);
$3.lineno = 882, cl_$0.$lzc$set_visible(this.visible);
cl_$0.isdetatchedclone = false;
return cl_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "reattachClone";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 878;
return $lzsc$temp
})(), "__LZdiffArrays", (function () {
var $lzsc$temp = function (a_$0, b_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["a", a_$0, "b", b_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzReplicationManager.lzs";
$7.lineno = 891;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var i_$2 = 0;
var al_$3 = a_$0 ? a_$0.length : 0;
var bl_$4 = b_$1 ? b_$1.length : 0;
while (i_$2 < al_$3 && i_$2 < bl_$4) {
if (a_$0[i_$2] != b_$1[i_$2]) {
return i_$2
};
i_$2++
};
return i_$2
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "__LZdiffArrays";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 891;
return $lzsc$temp
})(), "updateData", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzReplicationManager.lzs";
$2.lineno = 911;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 912, this.__LZupdateData()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "updateData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 911;
return $lzsc$temp
})(), "__LZupdateData", (function () {
var $lzsc$temp = function (recursive_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["recursive", recursive_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzReplicationManager.lzs";
$6.lineno = 918;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
recursive_$0 = false
};
var cls_$1 = this.clones;
var len_$2 = cls_$1.length;
for (var i_$3 = 0;i_$3 < len_$2;i_$3++) {
$6.lineno = 922, cls_$1[i_$3].datapath.updateData()
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "__LZupdateData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 918;
return $lzsc$temp
})()], null);
lz.ReplicationManager = LzReplicationManager;
Class.make("LzRefNode", LzNode, ["__LZxpathconstr", null, "__LZxpathdepend", null, "xpath", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function (parent_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["parent", parent_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzReplicationManager.lzs";
$6.lineno = 948;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 949, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, parent_$0, attrs_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 948;
return $lzsc$temp
})(), "$lzc$set_xpath", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzReplicationManager.lzs";
$3.lineno = 955;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 957, this.parent.$lzc$set_xpath(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_xpath";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 955;
return $lzsc$temp
})()], null);
Class.make("LzDataAttrBind", LzDatapointer, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (ndpath_$0, attr_$1, path_$2, type_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["ndpath", ndpath_$0, "attr", attr_$1, "path", path_$2, "type", type_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzDataAttrBind.lzs";
$6.lineno = 14;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 15, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, ndpath_$0);
this.type = type_$3;
this.setAttr = attr_$1;
this.pathparent = ndpath_$0;
this.node = ndpath_$0.immediateparent;
$6.lineno = 20, this.setXPath(path_$2);
this.rerunxpath = true;
if (ndpath_$0.__LZdepChildren == null) {
ndpath_$0.__LZdepChildren = [this]
} else {
$6.lineno = 26, ndpath_$0.__LZdepChildren.push(this)
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataAttrBind.lzs";
$lzsc$temp["_dbg_lineno"] = 14;
return $lzsc$temp
})(), "$pathbinding", true, "setAttr", void 0, "pathparent", void 0, "node", void 0, "type", void 0, "__LZlast", -1, "__LZsendUpdate", (function () {
var $lzsc$temp = function (upd_$0, upp_$1) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["upd", upd_$0, "upp", upp_$1];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/data/LzDataAttrBind.lzs";
$a.lineno = 49;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
switch (arguments.length) {
case 0:
upd_$0 = false;;case 1:
upp_$1 = false
};
var pchg_$2 = this.__LZpchanged;
var result_$3 = (arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["__LZsendUpdate"] || ($a.lineno = 51, this.nextMethod(arguments.callee, "__LZsendUpdate"))).call(this, upd_$0, upp_$1);
if (result_$3) {
var data_$4 = this.data;
var node_$5 = this.node;
var attr_$6 = this.setAttr;
if (data_$4 == null) {
data_$4 = null
};
var newvalue_$7 = ($a.lineno = 63, node_$5.acceptTypeValue(this.type, data_$4));
if (pchg_$2 || node_$5[attr_$6] !== newvalue_$7 || !node_$5.inited || this.parsedPath.operator == "attributes") {
{
if (!node_$5.__LZdeleted) {
var $lzsc$376989327 = "$lzc$set_" + attr_$6;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(node_$5[$lzsc$376989327]) : node_$5[$lzsc$376989327] instanceof Function) {
node_$5[$lzsc$376989327](newvalue_$7)
} else {
node_$5[attr_$6] = newvalue_$7;
var $lzsc$591207734 = node_$5["on" + attr_$6];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$591207734) : $lzsc$591207734 instanceof LzEvent) {
if ($lzsc$591207734.ready) {
$lzsc$591207734.sendEvent(newvalue_$7)
}}}}}}};
return result_$3
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "__LZsendUpdate";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataAttrBind.lzs";
$lzsc$temp["_dbg_lineno"] = 49;
return $lzsc$temp
})(), "unregisterAll", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataAttrBind.lzs";
$4.lineno = 89;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var dca_$0 = this.pathparent.__LZdepChildren;
if (dca_$0 != null) {
for (var i_$1 = 0;i_$1 < dca_$0.length;i_$1++) {
if (dca_$0[i_$1] === this) {
$4.lineno = 95, dca_$0.splice(i_$1, 1);
break
}}};
$4.lineno = 101, this.destroy()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "unregisterAll";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataAttrBind.lzs";
$lzsc$temp["_dbg_lineno"] = 89;
return $lzsc$temp
})(), "setDataContext", (function () {
var $lzsc$temp = function (dc_$0, implicit_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["dc", dc_$0, "implicit", implicit_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataAttrBind.lzs";
$4.lineno = 107;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
implicit_$1 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["setDataContext"] || ($4.lineno = 108, this.nextMethod(arguments.callee, "setDataContext"))).call(this, dc_$0 || this.pathparent, implicit_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setDataContext";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataAttrBind.lzs";
$lzsc$temp["_dbg_lineno"] = 107;
return $lzsc$temp
})(), "updateData", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataAttrBind.lzs";
$2.lineno = 114;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 115, this.__LZupdateData()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "updateData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataAttrBind.lzs";
$lzsc$temp["_dbg_lineno"] = 114;
return $lzsc$temp
})(), "__LZupdateData", (function () {
var $lzsc$temp = function (recursive_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["recursive", recursive_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzDataAttrBind.lzs";
$5.lineno = 122;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 0:
recursive_$0 = false
};
var ppdo_$1 = this.parsedPath.operator;
if (ppdo_$1 != null) {
var dat_$2 = ($5.lineno = 126, this.node.presentAttribute(this.setAttr, this.type));
if (this.data != dat_$2) {
if (ppdo_$1 == "name") {
$5.lineno = 130, this.setNodeName(dat_$2)
} else if (ppdo_$1 == "text") {
$5.lineno = 132, this.setNodeText(dat_$2)
} else if (ppdo_$1 == "attributes") {
$5.lineno = 134, this.p.$lzc$set_attributes(dat_$2)
} else {
$5.lineno = 137, this.setNodeAttribute(($5.lineno = 137, ppdo_$1.substring(11)), dat_$2)
}}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZupdateData";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataAttrBind.lzs";
$lzsc$temp["_dbg_lineno"] = 122;
return $lzsc$temp
})(), "__LZHandleMultiNodes", (function () {
var $lzsc$temp = function (n_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["n", n_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzDataAttrBind.lzs";
$4.lineno = 145;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var pp_$1 = this.parsedPath;
if (pp_$1 && pp_$1.aggOperator == "last") {
this.__LZlast = n_$0.length;
$4.lineno = 150, this.__LZHandleSingleNode(n_$0[0]);
return null
} else {
return (arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["__LZHandleMultiNodes"] || ($4.lineno = 153, this.nextMethod(arguments.callee, "__LZHandleMultiNodes"))).call(this, n_$0)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZHandleMultiNodes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataAttrBind.lzs";
$lzsc$temp["_dbg_lineno"] = 145;
return $lzsc$temp
})(), "__LZgetLast", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataAttrBind.lzs";
$2.lineno = 158;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.__LZlast != -1 ? this.__LZlast : (arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["__LZgetLast"] || ($2.lineno = 159, this.nextMethod(arguments.callee, "__LZgetLast"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__LZgetLast";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataAttrBind.lzs";
$lzsc$temp["_dbg_lineno"] = 158;
return $lzsc$temp
})(), "runXPath", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataAttrBind.lzs";
$2.lineno = 163;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.__LZlast = -1;
return (arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["runXPath"] || ($2.lineno = 165, this.nextMethod(arguments.callee, "runXPath"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "runXPath";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataAttrBind.lzs";
$lzsc$temp["_dbg_lineno"] = 163;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataAttrBind.lzs";
$2.lineno = 169;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "binder " + this.xpath
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataAttrBind.lzs";
$lzsc$temp["_dbg_lineno"] = 169;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzDataAttrBind.lzs";
$3.lineno = 12;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzDataAttrBind.prototype._dbg_name = (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzDataAttrBind.lzs";
$2.lineno = 174;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 175, Debug.formatToString('%w.%s="$path{%w}"', this.node, this.setAttr, this.xpath)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "data/LzDataAttrBind.lzs#174/43";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataAttrBind.lzs";
$lzsc$temp["_dbg_lineno"] = 174;
return $lzsc$temp
})()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "data/LzDataAttrBind.lzs#12/1";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzDataAttrBind.lzs";
$lzsc$temp["_dbg_lineno"] = 12;
return $lzsc$temp
})()(LzDataAttrBind);
Class.make("LzLazyReplicationManager", LzReplicationManager, ["sizeAxis", void 0, "cloneimmediateparent", void 0, "updateDel", void 0, "__LZoldnodelen", void 0, "viewsize", 0, "totalsize", 0, "mask", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function (odp_$0, args_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["odp", odp_$0, "args", args_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzLazyReplicationManager.lzs";
$6.lineno = 68;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 2:
children_$2 = null;;case 3:
instcall_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 69, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, odp_$0, args_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzLazyReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 68;
return $lzsc$temp
})(), "getDefaultPooling", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzLazyReplicationManager.lzs";
$2.lineno = 73;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return true
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getDefaultPooling";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzLazyReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 73;
return $lzsc$temp
})(), "construct", (function () {
var $lzsc$temp = function (odp_$0, args_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["odp", odp_$0, "args", args_$1];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/data/LzLazyReplicationManager.lzs";
$9.lineno = 79;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
if (args_$1.pooling != null) {
args_$1.pooling = true;
$9.lineno = 83, Debug.warn("Invalid pooling argument specified " + "with lazy replication in %w", this)
};
if (args_$1.axis != null) {
this.axis = args_$1.axis
};
this.sizeAxis = this.axis == "x" ? "width" : "height";
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($9.lineno = 94, this.nextMethod(arguments.callee, "construct"))).call(this, odp_$0, args_$1);
this.mask = odp_$0.immediateparent.immediateparent.mask;
var cloneopt_$2;
if (this.cloneAttrs.options != null) {
cloneopt_$2 = ($9.lineno = 104, new LzInheritedHash(this.cloneAttrs.options));
cloneopt_$2["ignorelayout"] = true
} else {
cloneopt_$2 = {ignorelayout: true}};
var firstcl_$3 = this.clones[0];
if (firstcl_$3) {
$9.lineno = 112, firstcl_$3.setOption("ignorelayout", true);
var layo_$4 = firstcl_$3.immediateparent.layouts;
if (layo_$4 != null) {
for (var i_$5 = 0;i_$5 < layo_$4.length;i_$5++) {
$9.lineno = 116, layo_$4[i_$5].removeSubview(firstcl_$3)
}}};
this.cloneAttrs.options = cloneopt_$2;
var v_$6 = ($9.lineno = 123, this.getNewClone(true));
this.cloneimmediateparent = v_$6.immediateparent;
if (this.initialnodes) {
$9.lineno = 129, v_$6.datapath.setClonePointer(this.initialnodes[1])
};
this.viewsize = v_$6[this.sizeAxis];
$9.lineno = 133, v_$6.datapath.setClonePointer(null);
$9.lineno = 134, this.clones.push(v_$6);
if (args_$1.spacing == null) {
args_$1.spacing = 0
};
this.totalsize = this.viewsize + args_$1.spacing;
{
var $lzsc$1801533117 = this.axis;
var $lzsc$176334297 = this.totalsize;
if (!v_$6.__LZdeleted) {
var $lzsc$474300862 = "$lzc$set_" + $lzsc$1801533117;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(v_$6[$lzsc$474300862]) : v_$6[$lzsc$474300862] instanceof Function) {
v_$6[$lzsc$474300862]($lzsc$176334297)
} else {
v_$6[$lzsc$1801533117] = $lzsc$176334297;
var $lzsc$1186325050 = v_$6["on" + $lzsc$1801533117];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$1186325050) : $lzsc$1186325050 instanceof LzEvent) {
if ($lzsc$1186325050.ready) {
$lzsc$1186325050.sendEvent($lzsc$176334297)
}}}}};
this.__LZdataoffset = 0;
this.updateDel = ($9.lineno = 147, new LzDelegate(this, "__LZhandleUpdate"));
$9.lineno = 148, this.updateDel.register(this.cloneimmediateparent, "on" + this.axis);
$9.lineno = 149, this.updateDel.register(this.mask, "on" + this.sizeAxis)
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzLazyReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 79;
return $lzsc$temp
})(), "__LZhandleUpdate", (function () {
var $lzsc$temp = function (ignore_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["ignore", ignore_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzLazyReplicationManager.lzs";
$3.lineno = 157;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 158, this.__LZadjustVisibleClones(null, null)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZhandleUpdate";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzLazyReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 157;
return $lzsc$temp
})(), "__LZsetCloneAttrs", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzLazyReplicationManager.lzs";
$3.lineno = 164;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var cloneopt_$0;
if (this.cloneAttrs.options != null) {
cloneopt_$0 = ($3.lineno = 167, new LzInheritedHash(this.cloneAttrs.options));
cloneopt_$0["ignorelayout"] = true
} else {
cloneopt_$0 = {ignorelayout: true}};
this.cloneAttrs.options = cloneopt_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZsetCloneAttrs";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzLazyReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 164;
return $lzsc$temp
})(), "__LZHandleNoNodes", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzLazyReplicationManager.lzs";
$2.lineno = 178;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 179, this.__LZHandleMultiNodes([])
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__LZHandleNoNodes";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzLazyReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 178;
return $lzsc$temp
})(), "__LZadjustVisibleClones", (function () {
var $lzsc$temp = function (lastnodes_$0, newnodes_$1) {
var $j = Debug;
var $k = $j.backtraceStack;
try {
if ($k) {
var $l = ["lastnodes", lastnodes_$0, "newnodes", newnodes_$1];
$l.callee = arguments.callee;
$l["this"] = this;
$l.filename = "lfc/data/LzLazyReplicationManager.lzs";
$l.lineno = 206;
$k.push($l);
if ($k.length > $k.maxDepth) {
$j.stackOverflow()
}};
var cloneip_$2 = this.cloneimmediateparent;
var _nodes_$3 = this.nodes;
var _axis_$4 = this.axis;
var _sizeAxis_$5 = this.sizeAxis;
var _totalsize_$6 = this.totalsize;
if (_nodes_$3) {
var nodelen_$7 = _nodes_$3.length;
if (this.__LZoldnodelen != nodelen_$7) {
{
var $lzsc$1253515625 = nodelen_$7 * _totalsize_$6 - this.spacing;
if (!cloneip_$2.__LZdeleted) {
var $lzsc$1361416572 = "$lzc$set_" + _sizeAxis_$5;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(cloneip_$2[$lzsc$1361416572]) : cloneip_$2[$lzsc$1361416572] instanceof Function) {
cloneip_$2[$lzsc$1361416572]($lzsc$1253515625)
} else {
cloneip_$2[_sizeAxis_$5] = $lzsc$1253515625;
var $lzsc$561338485 = cloneip_$2["on" + _sizeAxis_$5];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$561338485) : $lzsc$561338485 instanceof LzEvent) {
if ($lzsc$561338485.ready) {
$lzsc$561338485.sendEvent($lzsc$1253515625)
}}}}};
this.__LZoldnodelen = nodelen_$7
}};
if (!(this.mask && this.mask["hasset" + _sizeAxis_$5])) return;
var newstart_$8 = 0;
if (_totalsize_$6 != 0) {
newstart_$8 = ($l.lineno = 228, Math.floor(-cloneip_$2[_axis_$4] / _totalsize_$6));
if (0 > newstart_$8) newstart_$8 = 0
};
var oldstart_$9 = 0;
var oldlength_$a = this.clones.length;
var offset_$b = newstart_$8 - this.__LZdataoffset;
var remainder_$c = newstart_$8 * _totalsize_$6 + cloneip_$2[_axis_$4];
var newlength_$d = 0;
if (typeof remainder_$c == "number") {
newlength_$d = 1 + ($l.lineno = 240, Math.floor((this.mask[_sizeAxis_$5] - remainder_$c) / _totalsize_$6))
};
if (_nodes_$3 != null) {
var nodelen_$7 = _nodes_$3.length;
if (newlength_$d + newstart_$8 > nodelen_$7) {
newlength_$d = nodelen_$7 - newstart_$8
}};
if (offset_$b == 0 && newlength_$d == oldlength_$a) return;
$l.lineno = 255, lz.Instantiator.enableDataReplicationQueuing(this);
var oldclones_$e = this.clones;
this.clones = [];
for (var i_$f = 0;i_$f < newlength_$d;i_$f++) {
var cl_$g = null;
if (i_$f + offset_$b < 0) {
if (newlength_$d + offset_$b < oldlength_$a && oldlength_$a > 0) {
cl_$g = oldclones_$e[--oldlength_$a]
} else {
cl_$g = ($l.lineno = 268, this.getNewClone())
}} else if (i_$f + offset_$b >= oldlength_$a) {
if (oldstart_$9 < offset_$b && oldstart_$9 < oldlength_$a) {
cl_$g = oldclones_$e[oldstart_$9++]
} else {
cl_$g = ($l.lineno = 276, this.getNewClone())
}};
if (cl_$g) {
this.clones[i_$f] = cl_$g;
{
var $lzsc$838259984 = (i_$f + newstart_$8) * _totalsize_$6;
if (!cl_$g.__LZdeleted) {
var $lzsc$939395843 = "$lzc$set_" + _axis_$4;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(cl_$g[$lzsc$939395843]) : cl_$g[$lzsc$939395843] instanceof Function) {
cl_$g[$lzsc$939395843]($lzsc$838259984)
} else {
cl_$g[_axis_$4] = $lzsc$838259984;
var $lzsc$819039981 = cl_$g["on" + _axis_$4];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$819039981) : $lzsc$819039981 instanceof LzEvent) {
if ($lzsc$819039981.ready) {
$lzsc$819039981.sendEvent($lzsc$838259984)
}}}}};
cl_$g.clonenumber = newstart_$8 + i_$f;
if (_nodes_$3) {
$l.lineno = 285, cl_$g.datapath.setClonePointer(_nodes_$3[newstart_$8 + i_$f])
};
if (cl_$g.onclonenumber.ready) $l.lineno = 287, cl_$g.onclonenumber.sendEvent(i_$f)
} else {
this.clones[i_$f] = oldclones_$e[i_$f + offset_$b]
}};
var cpool_$h = this.clonePool;
while (oldstart_$9 < offset_$b && oldstart_$9 < oldlength_$a) {
var v_$i = oldclones_$e[oldstart_$9++];
$l.lineno = 297, this.detachClone(v_$i);
$l.lineno = 298, cpool_$h.push(v_$i)
};
while (oldlength_$a > newlength_$d + offset_$b && oldlength_$a > 0) {
var v_$i = oldclones_$e[--oldlength_$a];
$l.lineno = 303, this.detachClone(v_$i);
$l.lineno = 304, cpool_$h.push(v_$i)
};
this.__LZdataoffset = newstart_$8;
$l.lineno = 308, lz.Instantiator.clearDataReplicationQueue(this)
}
finally {
if ($k) {
$k.length--
}}};
$lzsc$temp["displayName"] = "__LZadjustVisibleClones";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzLazyReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 206;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzLazyReplicationManager.lzs";
$2.lineno = 314;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return "Lazy clone manager in " + this.cloneimmediateparent
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzLazyReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 314;
return $lzsc$temp
})(), "getCloneForNode", (function () {
var $lzsc$temp = function (p_$0, dontmake_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["p", p_$0, "dontmake", dontmake_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/data/LzLazyReplicationManager.lzs";
$5.lineno = 321;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 1:
dontmake_$1 = false
};
var cl_$2 = (arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["getCloneForNode"] || ($5.lineno = 322, this.nextMethod(arguments.callee, "getCloneForNode"))).call(this, p_$0) || null;
if (!cl_$2 && !dontmake_$1) {
cl_$2 = ($5.lineno = 326, this.getNewClone());
$5.lineno = 327, cl_$2.datapath.setClonePointer(p_$0);
$5.lineno = 328, this.detachClone(cl_$2);
$5.lineno = 329, this.clonePool.push(cl_$2)
};
return cl_$2
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "getCloneForNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzLazyReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 321;
return $lzsc$temp
})(), "getCloneNumber", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzLazyReplicationManager.lzs";
$3.lineno = 339;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 340, this.getCloneForNode(this.nodes[n_$0])
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getCloneNumber";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzLazyReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 339;
return $lzsc$temp
})()], null);
lz.LazyReplicationManager = LzLazyReplicationManager;
Class.make("LzResizeReplicationManager", LzLazyReplicationManager, ["datasizevar", void 0, "__LZresizeupdating", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (odp_$0, args_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["odp", odp_$0, "args", args_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzResizeReplicationManager.lzs";
$6.lineno = 97;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 2:
children_$2 = null;;case 3:
instcall_$3 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 98, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, odp_$0, args_$1, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzResizeReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 97;
return $lzsc$temp
})(), "getDefaultPooling", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/data/LzResizeReplicationManager.lzs";
$2.lineno = 102;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return false
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getDefaultPooling";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzResizeReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 102;
return $lzsc$temp
})(), "construct", (function () {
var $lzsc$temp = function (odp_$0, args_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["odp", odp_$0, "args", args_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/data/LzResizeReplicationManager.lzs";
$4.lineno = 109;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($4.lineno = 110, this.nextMethod(arguments.callee, "construct"))).call(this, odp_$0, args_$1);
this.datasizevar = "$" + ($4.lineno = 112, this.getUID()) + "track"
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzResizeReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 109;
return $lzsc$temp
})(), "__LZHandleCloneResize", (function () {
var $lzsc$temp = function (s_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["s", s_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/data/LzResizeReplicationManager.lzs";
$7.lineno = 125;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var p_$1 = this.datapath.p;
if (p_$1) {
var cloneManager_$2 = this.cloneManager;
var datasizevar_$3 = cloneManager_$2.datasizevar;
var osize_$4 = ($7.lineno = 130, p_$1.getUserData(datasizevar_$3)) || cloneManager_$2.viewsize;
if (s_$0 != osize_$4) {
$7.lineno = 132, p_$1.setUserData(datasizevar_$3, s_$0);
$7.lineno = 133, cloneManager_$2.__LZadjustVisibleClones(null, false)
}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "data/LzResizeReplicationManager.lzs#125/29";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzResizeReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 125;
return $lzsc$temp
})(), "__LZsetCloneAttrs", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzResizeReplicationManager.lzs";
$3.lineno = 141;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["__LZsetCloneAttrs"] || ($3.lineno = 142, this.nextMethod(arguments.callee, "__LZsetCloneAttrs"))).call(this);
var cattrs_$0 = this.cloneAttrs;
cattrs_$0.__LZHandleCloneResize = this.__LZHandleCloneResize;
if (!cattrs_$0["$delegates"]) {
cattrs_$0.$delegates = []
};
$3.lineno = 149, cattrs_$0.$delegates.push("on" + (this.axis == "y" ? "height" : "width"), "__LZHandleCloneResize", null)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZsetCloneAttrs";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzResizeReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 141;
return $lzsc$temp
})(), "getPositionByNode", (function () {
var $lzsc$temp = function (n_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["n", n_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/data/LzResizeReplicationManager.lzs";
$6.lineno = 158;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var pos_$1 = -this.spacing;
var cnode_$2;
if (this.nodes != null) {
for (var i_$3 = 0;i_$3 < this.nodes.length;i_$3++) {
cnode_$2 = this.nodes[i_$3];
if (n_$0 == this.nodes[i_$3]) {
return pos_$1 + this.spacing
};
pos_$1 += this.spacing + (($6.lineno = 168, cnode_$2.getUserData(this.datasizevar)) || this.viewsize)
}};
return undefined
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "getPositionByNode";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzResizeReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 158;
return $lzsc$temp
})(), "__LZreleaseClone", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/data/LzResizeReplicationManager.lzs";
$3.lineno = 178;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 179, this.detachClone(v_$0);
$3.lineno = 180, this.clonePool.push(v_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZreleaseClone";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzResizeReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 178;
return $lzsc$temp
})(), "__LZadjustVisibleClones", (function () {
var $lzsc$temp = function (lastnodes_$0, newnodes_$1) {
var $o = Debug;
var $p = $o.backtraceStack;
try {
if ($p) {
var $q = ["lastnodes", lastnodes_$0, "newnodes", newnodes_$1];
$q.callee = arguments.callee;
$q["this"] = this;
$q.filename = "lfc/data/LzResizeReplicationManager.lzs";
$q.lineno = 191;
$p.push($q);
if ($p.length > $p.maxDepth) {
$o.stackOverflow()
}};
if (!this.mask["hasset" + this.sizeAxis]) return;
if (this.__LZresizeupdating) return;
this.__LZresizeupdating = true;
var nodelen_$2 = this.nodes != null ? this.nodes.length : 0;
var newstart_$3 = ($q.lineno = 199, Math.floor(-this.cloneimmediateparent[this.axis]));
if (0 > newstart_$3) newstart_$3 = 0;
var masksize_$4 = this.mask[this.sizeAxis];
var newoffset_$5 = -1;
var oldoffset_$6 = this.__LZdataoffset;
if (newnodes_$1) {
while (this.clones.length) $q.lineno = 206, this.poolClone();
var oldclones_$7 = null;
var ocl_$8 = 0
} else {
var oldclones_$7 = this.clones;
var ocl_$8 = oldclones_$7.length
};
this.clones = [];
var cpos_$9 = -this.spacing;
var inwindow_$a = false;
var newend_$b = -1;
var newstartpos_$c;
var notfirst_$d = true;
for (var i_$e = 0;i_$e < nodelen_$2;i_$e++) {
var cnode_$f = this.nodes[i_$e];
var ds_$g = ($q.lineno = 227, cnode_$f.getUserData(this.datasizevar));
var csiz_$h = ds_$g == null ? this.viewsize : ds_$g;
cpos_$9 += this.spacing;
if (!inwindow_$a && newoffset_$5 == -1 && cpos_$9 - newstart_$3 + csiz_$h >= 0) {
notfirst_$d = i_$e != 0;
inwindow_$a = true;
newstartpos_$c = cpos_$9;
newoffset_$5 = i_$e;
var firstkept_$i = i_$e - oldoffset_$6;
firstkept_$i = firstkept_$i > ocl_$8 ? ocl_$8 : firstkept_$i;
if (firstkept_$i > 0) {
for (var j_$j = 0;j_$j < firstkept_$i;j_$j++) {
var v_$k = oldclones_$7[j_$j];
$q.lineno = 248, this.__LZreleaseClone(v_$k)
}}} else if (inwindow_$a && cpos_$9 - newstart_$3 > masksize_$4) {
inwindow_$a = false;
newend_$b = i_$e - newoffset_$5;
var lastkept_$l = i_$e - oldoffset_$6;
lastkept_$l = lastkept_$l < 0 ? 0 : lastkept_$l;
if (lastkept_$l < ocl_$8) {
for (var j_$j = lastkept_$l;j_$j < ocl_$8;j_$j++) {
var v_$k = oldclones_$7[j_$j];
$q.lineno = 264, this.__LZreleaseClone(v_$k)
}}};
if (inwindow_$a) {
if (i_$e >= oldoffset_$6 && i_$e < oldoffset_$6 + ocl_$8) {
var cl_$m = oldclones_$7[i_$e - oldoffset_$6]
} else {
var cl_$m = null
};
this.clones[i_$e - newoffset_$5] = cl_$m
};
cpos_$9 += csiz_$h
};
var clpos_$n = newstartpos_$c;
if (notfirst_$d) clpos_$n += this.spacing;
for (var i_$e = 0;i_$e < this.clones.length;i_$e++) {
var cnode_$f = this.nodes[i_$e + newoffset_$5];
var cl_$m = this.clones[i_$e];
if (!cl_$m) {
cl_$m = ($q.lineno = 293, this.getNewClone());
cl_$m.clonenumber = i_$e + newoffset_$5;
$q.lineno = 295, cl_$m.datapath.setClonePointer(cnode_$f);
if (cl_$m.onclonenumber.ready) $q.lineno = 296, cl_$m.onclonenumber.sendEvent(i_$e + newoffset_$5);
this.clones[i_$e] = cl_$m
};
this.clones[i_$e] = cl_$m;
{
var $lzsc$1645788412 = this.axis;
if (!cl_$m.__LZdeleted) {
var $lzsc$556130489 = "$lzc$set_" + $lzsc$1645788412;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(cl_$m[$lzsc$556130489]) : cl_$m[$lzsc$556130489] instanceof Function) {
cl_$m[$lzsc$556130489](clpos_$n)
} else {
cl_$m[$lzsc$1645788412] = clpos_$n;
var $lzsc$967021912 = cl_$m["on" + $lzsc$1645788412];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$967021912) : $lzsc$967021912 instanceof LzEvent) {
if ($lzsc$967021912.ready) {
$lzsc$967021912.sendEvent(clpos_$n)
}}}}};
var ds_$g = ($q.lineno = 303, cnode_$f.getUserData(this.datasizevar));
var csiz_$h = ds_$g == null ? this.viewsize : ds_$g;
if (cl_$m[this.sizeAxis] != csiz_$h) {
{
var $lzsc$629642588 = this.sizeAxis;
if (!cl_$m.__LZdeleted) {
var $lzsc$95574302 = "$lzc$set_" + $lzsc$629642588;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(cl_$m[$lzsc$95574302]) : cl_$m[$lzsc$95574302] instanceof Function) {
cl_$m[$lzsc$95574302](csiz_$h)
} else {
cl_$m[$lzsc$629642588] = csiz_$h;
var $lzsc$1751393132 = cl_$m["on" + $lzsc$629642588];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$1751393132) : $lzsc$1751393132 instanceof LzEvent) {
if ($lzsc$1751393132.ready) {
$lzsc$1751393132.sendEvent(csiz_$h)
}}}}}};
clpos_$n += csiz_$h + this.spacing
};
this.__LZdataoffset = newoffset_$5;
{
var $lzsc$1278192630 = this.cloneimmediateparent;
var $lzsc$1171242614 = this.sizeAxis;
if (!$lzsc$1278192630.__LZdeleted) {
var $lzsc$842737471 = "$lzc$set_" + $lzsc$1171242614;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa($lzsc$1278192630[$lzsc$842737471]) : $lzsc$1278192630[$lzsc$842737471] instanceof Function) {
$lzsc$1278192630[$lzsc$842737471](cpos_$9)
} else {
$lzsc$1278192630[$lzsc$1171242614] = cpos_$9;
var $lzsc$582938110 = $lzsc$1278192630["on" + $lzsc$1171242614];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$582938110) : $lzsc$582938110 instanceof LzEvent) {
if ($lzsc$582938110.ready) {
$lzsc$582938110.sendEvent(cpos_$9)
}}}}};
this.__LZresizeupdating = false
}
finally {
if ($p) {
$p.length--
}}};
$lzsc$temp["displayName"] = "__LZadjustVisibleClones";
$lzsc$temp["_dbg_filename"] = "lfc/data/LzResizeReplicationManager.lzs";
$lzsc$temp["_dbg_lineno"] = 191;
return $lzsc$temp
})()], null);
lz.ResizeReplicationManager = LzResizeReplicationManager;
Class.make("LzColorUtils", null, null, ["__cache", {counter: 0}, "stringToColor", (function () {
var $lzsc$temp = function (s_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["s", s_$0];
$4.callee = arguments.callee;
$4.filename = "lfc/services/LzUtils.lzs";
$4.lineno = 21;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (typeof s_$0 != "string") return s_$0;
if (s_$0 in lz.colors) return lz.colors[s_$0];
if (s_$0 in global) return global[s_$0];
if (($4.lineno = 31, s_$0.indexOf("rgb")) != -1) return $4.lineno = 31, LzColorUtils.fromrgb(s_$0);
var n_$1 = ($4.lineno = 34, Number(s_$0));
if ($4.lineno = 36, isNaN(n_$1)) {
return s_$0
} else {
return n_$1
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "stringToColor";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 21;
return $lzsc$temp
})(), "fromrgb", (function () {
var $lzsc$temp = function (s_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["s", s_$0];
$5.callee = arguments.callee;
$5.filename = "lfc/services/LzUtils.lzs";
$5.lineno = 50;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (typeof s_$0 != "string") return s_$0;
if (($5.lineno = 52, s_$0.indexOf("rgb")) == -1) return $5.lineno = 52, LzColorUtils.stringToColor(s_$0);
var parts_$1 = ($5.lineno = 54, ($5.lineno = 54, s_$0.substring(($5.lineno = 54, s_$0.indexOf("(")) + 1, ($5.lineno = 54, s_$0.indexOf(")")))).split(","));
var color_$2 = (parts_$1[0] << 16) + (parts_$1[1] << 8) + parts_$1[2] * 1;
if (parts_$1.length > 3) {
color_$2 += parts_$1[3] * 0.01
};
if (typeof color_$2 == "number") return color_$2;
$5.lineno = 65, Debug.warn("invalid color string: " + s_$0);
return 0
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "fromrgb";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 50;
return $lzsc$temp
})(), "dectohex", (function () {
var $lzsc$temp = function (n_$0, p_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["n", n_$0, "p", p_$1];
$6.callee = arguments.callee;
$6.filename = "lfc/services/LzUtils.lzs";
$6.lineno = 73;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 1:
p_$1 = 0
};
if (typeof n_$0 != "number") return n_$0;
n_$0 = n_$0 & 16777215;
var hex_$2 = ($6.lineno = 77, n_$0.toString(16));
var pad_$3 = p_$1 - hex_$2.length;
while (pad_$3 > 0) {
hex_$2 = "0" + hex_$2;
pad_$3--
};
return hex_$2
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "dectohex";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 73;
return $lzsc$temp
})(), "torgb", (function () {
var $lzsc$temp = function (s_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["s", s_$0];
$6.callee = arguments.callee;
$6.filename = "lfc/services/LzUtils.lzs";
$6.lineno = 89;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (typeof s_$0 == "string" && ($6.lineno = 90, s_$0.indexOf("rgb")) != -1) return s_$0;
var n_$1 = ($6.lineno = 92, LzColorUtils.inttohex(s_$0));
if (typeof n_$1 != "string") return n_$1;
if (typeof s_$0 == "number" || lz.colors[s_$0] != null) s_$0 = n_$1;
var cache_$2 = LzColorUtils.__cache;
var key_$3 = "torgb" + n_$1;
if (!cache_$2[key_$3]) {
if (cache_$2.counter++ > 1000) {
cache_$2 = {counter: 0}};
if (s_$0.length < 6) {
s_$0 = "#" + ($6.lineno = 104, s_$0.charAt(1)) + ($6.lineno = 104, s_$0.charAt(1)) + ($6.lineno = 105, s_$0.charAt(2)) + ($6.lineno = 105, s_$0.charAt(2)) + ($6.lineno = 106, s_$0.charAt(3)) + ($6.lineno = 106, s_$0.charAt(3)) + (s_$0.length > 4 ? ($6.lineno = 107, s_$0.charAt(4)) + ($6.lineno = 107, s_$0.charAt(4)) : "")
};
cache_$2[key_$3] = (s_$0.length > 7 ? "rgba(" : "rgb(") + ($6.lineno = 113, parseInt(($6.lineno = 113, s_$0.substring(1, 3)), 16)) + "," + ($6.lineno = 114, parseInt(($6.lineno = 114, s_$0.substring(3, 5)), 16)) + "," + ($6.lineno = 115, parseInt(($6.lineno = 115, s_$0.substring(5, 7)), 16)) + (s_$0.length > 7 ? "," + ($6.lineno = 117, parseInt(($6.lineno = 117, s_$0.substring(7)), 16)) / 255 : "") + ")"
};
return cache_$2[key_$3]
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "torgb";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 89;
return $lzsc$temp
})(), "tohsv", (function () {
var $lzsc$temp = function (rgb_$0) {
var $a = Debug;
var $b = $a.backtraceStack;
try {
if ($b) {
var $c = ["rgb", rgb_$0];
$c.callee = arguments.callee;
$c.filename = "lfc/services/LzUtils.lzs";
$c.lineno = 130;
$b.push($c);
if ($b.length > $b.maxDepth) {
$a.stackOverflow()
}};
var r_$1 = (rgb_$0 >> 16 & 255) / 255, g_$2 = (rgb_$0 >> 8 & 255) / 255, b_$3 = (rgb_$0 & 255) / 255;
var min_$4 = ($c.lineno = 132, Math.min(r_$1, ($c.lineno = 132, Math.min(g_$2, b_$3)))), max_$5 = ($c.lineno = 132, Math.max(r_$1, ($c.lineno = 132, Math.max(g_$2, b_$3))));
var v_$6 = max_$5;
var delta_$7 = max_$5 - min_$4;
if (delta_$7 == 0) {
return {h: 0, s: 0, v: v_$6}};
var s_$8 = delta_$7 / max_$5;
if (r_$1 == max_$5) {
var h_$9 = (g_$2 - b_$3) / delta_$7
} else if (g_$2 == max_$5) {
var h_$9 = 2 + (b_$3 - r_$1) / delta_$7
} else {
var h_$9 = 4 + (r_$1 - g_$2) / delta_$7
};
h_$9 *= 60;
if (h_$9 < 0) {
h_$9 += 360
};
return {h: h_$9, s: s_$8, v: v_$6}}
finally {
if ($b) {
$b.length--
}}};
$lzsc$temp["displayName"] = "tohsv";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 130;
return $lzsc$temp
})(), "fromhsv", (function () {
var $lzsc$temp = function (h_$0, s_$1, v_$2) {
var $c = Debug;
var $d = $c.backtraceStack;
try {
if ($d) {
var $e = ["h", h_$0, "s", s_$1, "v", v_$2];
$e.callee = arguments.callee;
$e.filename = "lfc/services/LzUtils.lzs";
$e.lineno = 158;
$d.push($e);
if ($d.length > $d.maxDepth) {
$c.stackOverflow()
}};
var t_$3 = h_$0 / 60;
var ti_$4 = ($e.lineno = 160, Math.floor(t_$3));
var hi_$5 = ti_$4 % 6;
var f_$6 = t_$3 - ti_$4;
var p_$7 = v_$2 * (1 - s_$1);
var q_$8 = v_$2 * (1 - f_$6 * s_$1);
var t_$3 = v_$2 * (1 - (1 - f_$6) * s_$1);
var r_$9, g_$a, b_$b;
switch (hi_$5) {
case 0:
r_$9 = v_$2;g_$a = t_$3;b_$b = p_$7;break;;case 1:
r_$9 = q_$8;g_$a = v_$2;b_$b = p_$7;break;;case 2:
r_$9 = p_$7;g_$a = v_$2;b_$b = t_$3;break;;case 3:
r_$9 = p_$7;g_$a = q_$8;b_$b = v_$2;break;;case 4:
r_$9 = t_$3;g_$a = p_$7;b_$b = v_$2;break;;case 5:
r_$9 = v_$2;g_$a = p_$7;b_$b = q_$8;break
};
return r_$9 * 255 << 16 | g_$a * 255 << 8 | b_$b * 255
}
finally {
if ($d) {
$d.length--
}}};
$lzsc$temp["displayName"] = "fromhsv";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 158;
return $lzsc$temp
})(), "convertColor", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3.filename = "lfc/services/LzUtils.lzs";
$3.lineno = 187;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (s_$0 == "null" || s_$0 == null) return null;
return $3.lineno = 190, LzColorUtils.hextoint(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "convertColor";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 187;
return $lzsc$temp
})(), "hextoint", (function () {
var $lzsc$temp = function (s_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["s", s_$0];
$6.callee = arguments.callee;
$6.filename = "lfc/services/LzUtils.lzs";
$6.lineno = 196;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var n_$1 = ($6.lineno = 197, LzColorUtils.stringToColor(s_$0));
if (typeof n_$1 != "string") return n_$1;
var hex_$2 = s_$0;
hex_$2 = ($6.lineno = 203, hex_$2.slice(1));
var alpha_$3 = 0;
if (hex_$2.length > 6) {
alpha_$3 = ($6.lineno = 207, parseInt(($6.lineno = 207, hex_$2.slice(6)), 16)) / 25500;
hex_$2 = ($6.lineno = 208, hex_$2.slice(0, 6))
};
var n_$1 = ($6.lineno = 211, parseInt(hex_$2, 16));
switch (hex_$2.length) {
case 3:
return ((n_$1 & 3840) << 8 | (n_$1 & 240) << 4 | n_$1 & 15) * 17 + alpha_$3;;case 6:
return n_$1 + alpha_$3;;default:
break
};
$6.lineno = 222, Debug.warn("invalid color string: " + s_$0);
return 0
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "hextoint";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 196;
return $lzsc$temp
})(), "inttohex", (function () {
var $lzsc$temp = function (n_$0, p_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["n", n_$0, "p", p_$1];
$9.callee = arguments.callee;
$9.filename = "lfc/services/LzUtils.lzs";
$9.lineno = 231;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
switch (arguments.length) {
case 1:
p_$1 = 6
};
var s_$2 = ($9.lineno = 233, LzColorUtils.stringToColor(n_$0));
if (typeof s_$2 != "number") return s_$2;
var cache_$3 = LzColorUtils.__cache;
var key_$4 = "inttohex" + s_$2;
if (!cache_$3[key_$4]) {
if (cache_$3.counter++ > 1000) {
cache_$3 = {counter: 0}};
var alpha_$5 = s_$2 - ($9.lineno = 241, Math.floor(s_$2));
var alphastring_$6 = "";
if (alpha_$5 != 0) {
alpha_$5 = ($9.lineno = 245, Math.floor(alpha_$5 * 25600));
alphastring_$6 = ($9.lineno = 246, alpha_$5.toString(16));
if (alphastring_$6.length == 1) {
alphastring_$6 = "0" + alphastring_$6
}};
cache_$3[key_$4] = "#" + ($9.lineno = 251, LzColorUtils.dectohex(s_$2, p_$1)) + alphastring_$6
};
return cache_$3[key_$4]
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "inttohex";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 231;
return $lzsc$temp
})(), "inttocolorobj", (function () {
var $lzsc$temp = function (val_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["val", val_$0];
$8.callee = arguments.callee;
$8.filename = "lfc/services/LzUtils.lzs";
$8.lineno = 263;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var rgba_$1 = ($8.lineno = 264, LzColorUtils.hextoint(val_$0));
var cache_$2 = LzColorUtils.__cache;
var key_$3 = "inttocolorobj" + rgba_$1;
if (!cache_$2[key_$3]) {
if (cache_$2.counter++ > 1000) {
cache_$2 = {counter: 0}};
var color_$4 = rgba_$1 | 0;
var alpha_$5 = rgba_$1 - color_$4;
if (alpha_$5 == 0) {
alpha_$5 = null
} else {
alpha_$5 *= 100
};
cache_$2[key_$3] = {color: color_$4, alpha: alpha_$5}};
return cache_$2[key_$3]
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "inttocolorobj";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 263;
return $lzsc$temp
})(), "rgbatoint", (function () {
var $lzsc$temp = function (color_$0, alpha_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["color", color_$0, "alpha", alpha_$1];
$4.callee = arguments.callee;
$4.filename = "lfc/services/LzUtils.lzs";
$4.lineno = 287;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
alpha_$1 = null
};
if (alpha_$1 == 0) {
return null
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "rgbatoint";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 287;
return $lzsc$temp
})()]);
Class.make("LzUtilsClass", null, ["__SimpleExprPattern", void 0, "__ElementPattern", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzUtils.lzs";
$2.lineno = 303;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.__SimpleExprPattern = ($2.lineno = 304, new RegExp("^\\s*([$_A-Za-z][$\\w]*)((\\s*\\.\\s*[$_A-Za-z][$\\w]*)|(\\s*\\[\\s*\\d+\\s*\\]))*\\s*$"));
this.__ElementPattern = ($2.lineno = 306, new RegExp("([$_A-Za-z][$\\w]*)|(\\d+)", "g"))
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 303;
return $lzsc$temp
})(), "color", {hextoint: (function () {
var $lzsc$temp = function (value_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["value", value_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzUtils.lzs";
$3.lineno = 313;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 314, Debug.warn("lz.Utils.color.hextoint() is deprecated.  Use LzColorUtils.hextoint() instead.");
return $3.lineno = 315, LzColorUtils.hextoint(value_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "hextoint";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 313;
return $lzsc$temp
})(), inttohex: (function () {
var $lzsc$temp = function (c_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["c", c_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzUtils.lzs";
$3.lineno = 318;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 319, Debug.warn("lz.Utils.color.inttohex() is deprecated.  Use LzColorUtils.inttohex() instead.");
return $3.lineno = 320, LzColorUtils.inttohex(c_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "inttohex";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 318;
return $lzsc$temp
})(), torgb: (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzUtils.lzs";
$3.lineno = 323;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 324, Debug.warn("lz.Utils.color.torgb() is deprecated.  Use LzColorUtils.torgb() instead.");
return $3.lineno = 325, LzColorUtils.torgb(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "torgb";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 323;
return $lzsc$temp
})()}, "hextoint", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzUtils.lzs";
$3.lineno = 333;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 334, Debug.deprecated(this, arguments.callee, LzColorUtils.hextoint);
return $3.lineno = 335, LzColorUtils.hextoint(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "hextoint";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 333;
return $lzsc$temp
})(), "inttohex", (function () {
var $lzsc$temp = function (n_$0, p_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["n", n_$0, "p", p_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzUtils.lzs";
$4.lineno = 342;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
p_$1 = 6
};
$4.lineno = 343, Debug.deprecated(this, arguments.callee, LzColorUtils.inttohex);
return $4.lineno = 344, LzColorUtils.inttohex(n_$0, p_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "inttohex";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 342;
return $lzsc$temp
})(), "dectohex", (function () {
var $lzsc$temp = function (n_$0, p_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["n", n_$0, "p", p_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzUtils.lzs";
$4.lineno = 350;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
p_$1 = 0
};
return $4.lineno = 351, LzColorUtils.dectohex(n_$0, p_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "dectohex";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 350;
return $lzsc$temp
})(), "stringToColor", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzUtils.lzs";
$3.lineno = 358;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 359, Debug.deprecated(this, arguments.callee, LzColorUtils.stringToColor);
return $3.lineno = 360, LzColorUtils.stringToColor(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "stringToColor";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 358;
return $lzsc$temp
})(), "torgb", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzUtils.lzs";
$3.lineno = 367;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 368, Debug.deprecated(this, arguments.callee, LzColorUtils.torgb);
return $3.lineno = 369, LzColorUtils.torgb(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "torgb";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 367;
return $lzsc$temp
})(), "fromrgb", (function () {
var $lzsc$temp = function (s_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["s", s_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzUtils.lzs";
$3.lineno = 376;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 377, Debug.deprecated(this, arguments.callee, LzColorUtils.fromrgb);
return $3.lineno = 378, LzColorUtils.fromrgb(s_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "fromrgb";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 376;
return $lzsc$temp
})(), "colornames", lz.colors, "__unpackList", (function () {
var $lzsc$temp = function (argstr_$0, scope_$1) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["argstr", argstr_$0, "scope", scope_$1];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/services/LzUtils.lzs";
$a.lineno = 388;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
switch (arguments.length) {
case 1:
scope_$1 = null
};
if (argstr_$0 == "") return [];
if (scope_$1 == null) scope_$1 = canvas;
var args_$2 = ($a.lineno = 391, argstr_$0.split(","));
for (var i_$3 = 0;i_$3 < args_$2.length;i_$3++) {
var a_$4 = args_$2[i_$3];
if (a_$4 == "") continue;
while (($a.lineno = 398, a_$4.charAt(0)) == " ") {
a_$4 = ($a.lineno = 399, a_$4.substring(1, a_$4.length))
};
var n_$5 = ($a.lineno = 402, parseFloat(a_$4));
if (!($a.lineno = 403, isNaN(n_$5))) {
args_$2[i_$3] = n_$5
} else if (($a.lineno = 407, a_$4.indexOf("'")) != -1) {
var s_$6 = ($a.lineno = 409, a_$4.indexOf("'")) + 1;
var e_$7 = ($a.lineno = 410, a_$4.lastIndexOf("'"));
args_$2[i_$3] = ($a.lineno = 411, a_$4.substring(s_$6, e_$7))
} else if (a_$4 == "true" || a_$4 == "false") {
args_$2[i_$3] = a_$4 == "true"
} else if (scope_$1[a_$4]) {
args_$2[i_$3] = scope_$1[a_$4]
}};
return args_$2
}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "__unpackList";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 388;
return $lzsc$temp
})(), "safeEval", (function () {
var $lzsc$temp = function (js_$0) {
var $b = Debug;
var $c = $b.backtraceStack;
try {
if ($c) {
var $d = ["js", js_$0];
$d.callee = arguments.callee;
$d["this"] = this;
$d.filename = "lfc/services/LzUtils.lzs";
$d.lineno = 428;
$c.push($d);
if ($c.length > $c.maxDepth) {
$b.stackOverflow()
}};
if (($d.lineno = 430, js_$0.indexOf("new ")) == 0) return $d.lineno = 430, this.safeNew(js_$0);
var s_$1 = ($d.lineno = 433, js_$0.indexOf("("));
var argstr_$2 = null;
if (s_$1 != -1) {
var e_$3 = ($d.lineno = 436, js_$0.lastIndexOf(")"));
argstr_$2 = ($d.lineno = 437, js_$0.substring(s_$1 + 1, e_$3));
js_$0 = ($d.lineno = 438, js_$0.substring(0, s_$1))
};
var scope_$4 = null, val_$5;
if ($d.lineno = 444, js_$0.match(this.__SimpleExprPattern)) {
var parts_$6 = ($d.lineno = 445, js_$0.match(this.__ElementPattern));
val_$5 = ($d.lineno = 446, globalValue(parts_$6[0]));
for (var i_$7 = 1, l_$8 = parts_$6.length;i_$7 < l_$8;i_$7++) {
scope_$4 = val_$5;
val_$5 = val_$5[parts_$6[i_$7]]
}};
if (argstr_$2 == null) {
return val_$5
};
var args_$9 = ($d.lineno = 460, lz.Utils.__unpackList(argstr_$2, scope_$4));
if (val_$5) {
var result_$a = ($d.lineno = 465, val_$5.apply(scope_$4, args_$9));
return result_$a
}}
finally {
if ($c) {
$c.length--
}}};
$lzsc$temp["displayName"] = "safeEval";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 428;
return $lzsc$temp
})(), "safeNew", (function () {
var $lzsc$temp = function (js_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["js", js_$0];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/services/LzUtils.lzs";
$a.lineno = 474;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
var orig_$1 = js_$0;
var newpos_$2 = ($a.lineno = 478, js_$0.indexOf("new "));
if (newpos_$2 == -1) return js_$0;
js_$0 = ($a.lineno = 480, js_$0.substring(newpos_$2 + 4));
var s_$3 = ($a.lineno = 482, js_$0.indexOf("("));
if (s_$3 != -1) {
var e_$4 = ($a.lineno = 484, js_$0.indexOf(")"));
var args_$5 = ($a.lineno = 485, js_$0.substring(s_$3 + 1, e_$4));
js_$0 = ($a.lineno = 486, js_$0.substring(0, s_$3))
};
var obj_$6 = ($a.lineno = 489, globalValue(js_$0));
if (!obj_$6) return;
var args_$5 = ($a.lineno = 492, lz.Utils.__unpackList(args_$5));
var size_$7 = args_$5.length;
if (size_$7 == 0) {
return $a.lineno = 496, new obj_$6()
} else if (size_$7 == 1) {
return $a.lineno = 498, new obj_$6(args_$5[0])
} else if (size_$7 == 2) {
return $a.lineno = 500, new obj_$6(args_$5[0], args_$5[1])
} else if (size_$7 == 3) {
return $a.lineno = 502, new obj_$6(args_$5[0], args_$5[1], args_$5[2])
} else if (size_$7 == 4) {
return $a.lineno = 504, new obj_$6(args_$5[0], args_$5[1], args_$5[2], args_$5[3])
} else if (size_$7 == 5) {
return $a.lineno = 506, new obj_$6(args_$5[0], args_$5[1], args_$5[2], args_$5[3], args_$5[4])
} else if (size_$7 == 6) {
return $a.lineno = 508, new obj_$6(args_$5[0], args_$5[1], args_$5[2], args_$5[3], args_$5[4], args_$5[5])
} else if (size_$7 == 7) {
return $a.lineno = 510, new obj_$6(args_$5[0], args_$5[1], args_$5[2], args_$5[3], args_$5[4], args_$5[5], args_$5[6])
} else if (size_$7 == 8) {
return $a.lineno = 512, new obj_$6(args_$5[0], args_$5[1], args_$5[2], args_$5[3], args_$5[4], args_$5[5], args_$5[6], args_$5[7])
} else if (size_$7 == 9) {
return $a.lineno = 514, new obj_$6(args_$5[0], args_$5[1], args_$5[2], args_$5[3], args_$5[4], args_$5[5], args_$5[6], args_$5[7], args_$5[8])
} else if (size_$7 == 10) {
return $a.lineno = 516, new obj_$6(args_$5[0], args_$5[1], args_$5[2], args_$5[3], args_$5[4], args_$5[5], args_$5[6], args_$5[7], args_$5[8], args_$5[9])
} else if (size_$7 == 11) {
return $a.lineno = 518, new obj_$6(args_$5[0], args_$5[1], args_$5[2], args_$5[3], args_$5[4], args_$5[5], args_$5[6], args_$5[7], args_$5[8], args_$5[9], args_$5[10])
} else {
$a.lineno = 520, Debug.warn("Too many arguments", args_$5)
}}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "safeNew";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzUtils.lzs";
$lzsc$temp["_dbg_lineno"] = 474;
return $lzsc$temp
})()], null);
lz.Utils = new LzUtilsClass();
var LzUtils = lz.Utils;
Class.make("LzInstantiatorService", LzEventable, ["checkQDel", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzInstantiator.lzs";
$2.lineno = 53;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 54, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.checkQDel = ($2.lineno = 58, new LzDelegate(this, "checkQ"))
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 53;
return $lzsc$temp
})(), "halted", false, "isimmediate", false, "isdatareplicating", false, "istrickling", false, "isUpdating", false, "safe", true, "timeout", 500, "makeQ", [], "trickleQ", [], "tricklingQ", [], "datareplQ", null, "dataQ", [], "syncNew", true, "trickletime", 10, "setSafeInstantiation", (function () {
var $lzsc$temp = function (isSafe_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["isSafe", isSafe_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzInstantiator.lzs";
$3.lineno = 109;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.safe = isSafe_$0;
if (this.instanceQ.length) {
this.timeout = Infinity
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setSafeInstantiation";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 109;
return $lzsc$temp
})(), "requestInstantiation", (function () {
var $lzsc$temp = function (v_$0, children_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["v", v_$0, "children", children_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzInstantiator.lzs";
$5.lineno = 125;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (this.isimmediate) {
$5.lineno = 127, this.createImmediate(v_$0, ($5.lineno = 127, children_$1.concat()))
} else {
var c_$2 = ($5.lineno = 129, this.newReverseArray(children_$1));
if (this.isdatareplicating) {
$5.lineno = 132, this.datareplQ.push(c_$2, v_$0)
} else if (this.istrickling) {
$5.lineno = 134, this.tricklingQ.push(v_$0, c_$2)
} else {
$5.lineno = 136, this.makeQ.push(v_$0, c_$2);
$5.lineno = 137, this.checkUpdate()
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "requestInstantiation";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 125;
return $lzsc$temp
})(), "enableDataReplicationQueuing", (function () {
var $lzsc$temp = function (rman_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["rman", rman_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzInstantiator.lzs";
$3.lineno = 145;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.isdatareplicating) {
$3.lineno = 147, this.dataQ.push(this.datareplQ)
} else {
this.isdatareplicating = true
};
this.datareplQ = [];
$3.lineno = 154, this.datareplQ.push(rman_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "enableDataReplicationQueuing";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 145;
return $lzsc$temp
})(), "clearDataReplicationQueue", (function () {
var $lzsc$temp = function (rman_$0) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["rman", rman_$0];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/services/LzInstantiator.lzs";
$9.lineno = 161;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var drq_$1 = this.datareplQ;
if (this.dataQ.length > 0) {
this.datareplQ = ($9.lineno = 164, this.dataQ.pop())
} else {
this.isdatareplicating = false;
this.datareplQ = null
};
if (($9.lineno = 172, drq_$1.shift()) !== rman_$0) {
$9.lineno = 173, Debug.error("%w.clearDataReplicationQueue: expected %w", this, rman_$0)
};
var cpar_$2 = rman_$0.cloneParent;
var mq_$3 = this.makeQ;
var mqlen_$4 = mq_$3.length;
var offset_$5 = mqlen_$4;
for (var i_$6 = 0;i_$6 < mqlen_$4;i_$6 += 2) {
if (mq_$3[i_$6].parent === cpar_$2) {
offset_$5 = i_$6;
break
}};
$9.lineno = 195, drq_$1.push(0, offset_$5);
$9.lineno = 197, drq_$1.reverse();
$9.lineno = 200, mq_$3.splice.apply(mq_$3, drq_$1);
$9.lineno = 202, this.checkUpdate()
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "clearDataReplicationQueue";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 161;
return $lzsc$temp
})(), "newReverseArray", (function () {
var $lzsc$temp = function (arr_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["arr", arr_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/services/LzInstantiator.lzs";
$7.lineno = 208;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var n_$1 = arr_$0.length;
var a_$2 = ($7.lineno = 211, Array(n_$1));
for (var i_$3 = 0, j_$4 = n_$1 - 1;i_$3 < n_$1;) {
a_$2[i_$3++] = arr_$0[j_$4--]
};
return a_$2
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "newReverseArray";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 208;
return $lzsc$temp
})(), "checkUpdate", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzInstantiator.lzs";
$2.lineno = 221;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!(this.isUpdating || this.halted)) {
$2.lineno = 223, this.checkQDel.register(lz.Idle, "onidle");
this.isUpdating = true
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "checkUpdate";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 221;
return $lzsc$temp
})(), "checkQ", (function () {
var $lzsc$temp = function (ignoreme_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["ignoreme", ignoreme_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzInstantiator.lzs";
$5.lineno = 233;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 0:
ignoreme_$0 = null
};
if (!this.makeQ.length) {
if (!this.tricklingQ.length) {
if (!this.trickleQ.length) {
$5.lineno = 237, this.checkQDel.unregisterAll();
this.isUpdating = false;
return
} else {
var p_$1 = ($5.lineno = 241, this.trickleQ.shift());
var c_$2 = ($5.lineno = 242, this.trickleQ.shift());
$5.lineno = 243, this.tricklingQ.push(p_$1, ($5.lineno = 243, this.newReverseArray(c_$2)))
}};
this.istrickling = true;
$5.lineno = 247, this.makeSomeViews(this.tricklingQ, this.trickletime);
this.istrickling = false
} else {
canvas.creatednodes += ($5.lineno = 250, this.makeSomeViews(this.makeQ, this.timeout));
if (canvas.updatePercentCreatedEnabled) {
$5.lineno = 253, canvas.updatePercentCreated()
}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "checkQ";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 233;
return $lzsc$temp
})(), "makeSomeViews", (function () {
var $lzsc$temp = function (cq_$0, otime_$1) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["cq", cq_$0, "otime", otime_$1];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/services/LzInstantiator.lzs";
$b.lineno = 261;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
var itime_$2 = ($b.lineno = 262, ($b.lineno = 262, new Date()).getTime());
var num_$3 = 0;
while (($b.lineno = 264, ($b.lineno = 264, new Date()).getTime()) - itime_$2 < otime_$1 && cq_$0.length) {
var len_$4 = cq_$0.length;
var larr_$5 = cq_$0[len_$4 - 1];
var par_$6 = cq_$0[len_$4 - 2];
var parDone_$7 = false;
if (par_$6["__LZdeleted"] || larr_$5[0] && larr_$5[0]["__LZdeleted"]) {
cq_$0.length -= 2;
continue
};
try {
while (($b.lineno = 290, ($b.lineno = 290, new Date()).getTime()) - itime_$2 < otime_$1) {
if (len_$4 != cq_$0.length) {
break
};
if (!larr_$5.length) {
parDone_$7 = true;
break
};
var c_$8 = ($b.lineno = 295, larr_$5.pop());
if (c_$8) {
$b.lineno = 299, par_$6.makeChild(c_$8, true);
num_$3++
}}}
finally {};
if (parDone_$7) {
cq_$0.length = len_$4 - 2;
$b.lineno = 314, par_$6.__LZinstantiationDone()
}};
return num_$3
}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "makeSomeViews";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 261;
return $lzsc$temp
})(), "trickleInstantiate", (function () {
var $lzsc$temp = function (v_$0, children_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["v", v_$0, "children", children_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzInstantiator.lzs";
$4.lineno = 324;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
$4.lineno = 325, this.trickleQ.push(v_$0, children_$1);
$4.lineno = 326, this.checkUpdate()
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "trickleInstantiate";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 324;
return $lzsc$temp
})(), "createImmediate", (function () {
var $lzsc$temp = function (v_$0, children_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["v", v_$0, "children", children_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzInstantiator.lzs";
$6.lineno = 332;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var c_$2 = ($6.lineno = 333, this.newReverseArray(children_$1));
var wasimmediate_$3 = this.isimmediate;
this.isimmediate = true;
$6.lineno = 336, this.makeSomeViews([v_$0, c_$2], Infinity);
this.isimmediate = wasimmediate_$3
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "createImmediate";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 332;
return $lzsc$temp
})(), "completeTrickle", (function () {
var $lzsc$temp = function (v_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["v", v_$0];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/services/LzInstantiator.lzs";
$8.lineno = 343;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
if (this.tricklingQ[0] == v_$0) {
var wasimmediate_$1 = this.isimmediate;
this.isimmediate = true;
$8.lineno = 347, this.makeSomeViews(this.tricklingQ, Infinity);
this.isimmediate = wasimmediate_$1;
this.tricklingQ = []
} else {
var tq_$2 = this.trickleQ;
var tql_$3 = tq_$2.length;
for (var i_$4 = 0;i_$4 < tql_$3;i_$4 += 2) {
if (tq_$2[i_$4] == v_$0) {
var dchil_$5 = tq_$2[i_$4 + 1];
$8.lineno = 356, tq_$2.splice(i_$4, 2);
$8.lineno = 357, this.createImmediate(v_$0, dchil_$5);
return
}}}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "completeTrickle";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 343;
return $lzsc$temp
})(), "traceQ", (function () {
var $lzsc$temp = function () {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = [];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/services/LzInstantiator.lzs";
$8.lineno = 368;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
$8.lineno = 369, Debug.info("****start trace");
var mq_$0 = this.makeQ;
for (var i_$1 = 0;i_$1 < mq_$0.length;i_$1 += 2) {
var par_$2 = mq_$0[i_$1];
var larr_$3 = mq_$0[i_$1 + 1];
var s_$4 = "";
for (var k_$5 = 0;k_$5 < larr_$3.length;k_$5++) {
s_$4 += larr_$3[k_$5]["class"].tagname + " |"
};
$8.lineno = 378, Debug.write("%w : |%s >>> %s", par_$2, s_$4, ($8.lineno = 378, par_$2.getUID()))
};
$8.lineno = 380, Debug.info("****trace done")
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "traceQ";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 368;
return $lzsc$temp
})(), "halt", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzInstantiator.lzs";
$2.lineno = 387;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.isUpdating = false;
this.halted = true;
$2.lineno = 390, this.checkQDel.unregisterAll()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "halt";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 387;
return $lzsc$temp
})(), "resume", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzInstantiator.lzs";
$2.lineno = 396;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.halted = false;
$2.lineno = 398, this.checkUpdate()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "resume";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 396;
return $lzsc$temp
})(), "drainQ", (function () {
var $lzsc$temp = function (limit_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["limit", limit_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzInstantiator.lzs";
$6.lineno = 407;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var to_$1 = this.timeout;
var tt_$2 = this.trickletime;
var h_$3 = this.halted;
this.timeout = limit_$0;
this.trickletime = limit_$0;
this.halted = false;
this.isUpdating = true;
$6.lineno = 416, this.checkQ();
this.halted = h_$3;
this.timeout = to_$1;
this.trickletime = tt_$2;
return !this.isUpdating
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "drainQ";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 407;
return $lzsc$temp
})()], ["LzInstantiator", void 0]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzInstantiator.lzs";
$3.lineno = 34;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzInstantiatorService.LzInstantiator = ($3.lineno = 62, new LzInstantiatorService())
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzInstantiator.lzs#34/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzInstantiator.lzs";
$lzsc$temp["_dbg_lineno"] = 34;
return $lzsc$temp
})()(LzInstantiatorService);
lz.Instantiator = LzInstantiatorService.LzInstantiator;
Class.make("LzGlobalMouseService", LzEventable, ["$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzGlobalMouse.lzs";
$2.lineno = 96;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 97, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzGlobalMouse.lzs";
$lzsc$temp["_dbg_lineno"] = 96;
return $lzsc$temp
})(), "onmousemove", LzDeclaredEvent, "onmouseup", LzDeclaredEvent, "onmouseupoutside", LzDeclaredEvent, "onmouseover", LzDeclaredEvent, "onmouseout", LzDeclaredEvent, "onmousedown", LzDeclaredEvent, "onmousedragin", LzDeclaredEvent, "onmousedragout", LzDeclaredEvent, "onmouseleave", LzDeclaredEvent, "onmouseenter", LzDeclaredEvent, "onclick", LzDeclaredEvent, "ondblclick", LzDeclaredEvent, "__movecounter", 0, "__mouseEvent", (function () {
var $lzsc$temp = function (eventname_$0, view_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["eventname", eventname_$0, "view", view_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzGlobalMouse.lzs";
$5.lineno = 184;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (eventname_$0 == "onmouseleave") {
$5.lineno = 186, canvas.onmouseleave.sendEvent()
} else if (eventname_$0 == "onmousemove") {
this.__movecounter++
};
var ev_$2 = this[eventname_$0];
if (ev_$2) {
if (ev_$2.ready) {
$5.lineno = 192, ev_$2.sendEvent(view_$1)
}} else {
$5.lineno = 194, Debug.debug("Unknown mouse event %s", eventname_$0)
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__mouseEvent";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzGlobalMouse.lzs";
$lzsc$temp["_dbg_lineno"] = 184;
return $lzsc$temp
})()], ["LzGlobalMouse", void 0]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzGlobalMouse.lzs";
$3.lineno = 81;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzGlobalMouseService.LzGlobalMouse = ($3.lineno = 104, new LzGlobalMouseService())
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzGlobalMouse.lzs#81/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzGlobalMouse.lzs";
$lzsc$temp["_dbg_lineno"] = 81;
return $lzsc$temp
})()(LzGlobalMouseService);
lz.GlobalMouseService = LzGlobalMouseService;
lz.GlobalMouse = LzGlobalMouseService.LzGlobalMouse;
Class.make("LzBrowserService", null, ["capabilities", LzSprite.prototype.capabilities, "$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzBrowser.lzs";
$2.lineno = 58;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 59, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 58;
return $lzsc$temp
})(), "loadURL", (function () {
var $lzsc$temp = function (url_$0, target_$1, features_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["url", url_$0, "target", target_$1, "features", features_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzBrowser.lzs";
$5.lineno = 75;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 1:
target_$1 = null;;case 2:
features_$2 = null
};
$5.lineno = 76, LzBrowserKernel.loadURL(url_$0, target_$1, features_$2)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "loadURL";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 75;
return $lzsc$temp
})(), "loadJS", (function () {
var $lzsc$temp = function (js_$0, target_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["js", js_$0, "target", target_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzBrowser.lzs";
$4.lineno = 89;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 1:
target_$1 = null
};
$4.lineno = 90, LzBrowserKernel.loadJS.apply(null, arguments)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "loadJS";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 89;
return $lzsc$temp
})(), "callJS", (function () {
var $lzsc$temp = function (methodname_$0, callback_$1, args_$2) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["methodname", methodname_$0, "callback", callback_$1, "args", args_$2];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzBrowser.lzs";
$6.lineno = 101;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 1:
callback_$1 = null;;case 2:
args_$2 = null
};
try {
return $6.lineno = 103, LzBrowserKernel.callJS.apply(null, arguments)
}
catch (e_$3) {
$6.lineno = 105, Debug.error("lz.Browser.callJS() failed:", e_$3);
return null
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "callJS";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 101;
return $lzsc$temp
})(), "getVersion", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzBrowser.lzs";
$2.lineno = 113;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 114, LzBrowserKernel.getVersion()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getVersion";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 113;
return $lzsc$temp
})(), "getOS", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzBrowser.lzs";
$2.lineno = 120;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 121, LzBrowserKernel.getOS()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getOS";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 120;
return $lzsc$temp
})(), "getLoadURL", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzBrowser.lzs";
$2.lineno = 129;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 130, LzBrowserKernel.getLoadURL()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getLoadURL";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 129;
return $lzsc$temp
})(), "getInitArg", (function () {
var $lzsc$temp = function (name_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["name", name_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzBrowser.lzs";
$3.lineno = 143;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 144, LzBrowserKernel.getInitArg(name_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getInitArg";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 143;
return $lzsc$temp
})(), "getAppID", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzBrowser.lzs";
$2.lineno = 152;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 153, LzBrowserKernel.getAppID()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getAppID";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 152;
return $lzsc$temp
})(), "showMenu", (function () {
var $lzsc$temp = function (truefalse_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["truefalse", truefalse_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzBrowser.lzs";
$3.lineno = 161;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.runtimemenus) {
$3.lineno = 163, LzBrowserKernel.showMenu(truefalse_$0)
} else {
$3.lineno = 165, LzView.__warnCapability("lz.Browser.showMenu()", "runtimemenus")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "showMenu";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 161;
return $lzsc$temp
})(), "setClipboard", (function () {
var $lzsc$temp = function (str_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["str", str_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzBrowser.lzs";
$3.lineno = 174;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.setclipboard) {
$3.lineno = 176, LzBrowserKernel.setClipboard(str_$0)
} else {
$3.lineno = 178, LzView.__warnCapability("lz.Browser.setClipboard()", "setclipboard")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setClipboard";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 174;
return $lzsc$temp
})(), "isAAActive", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzBrowser.lzs";
$2.lineno = 187;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.accessibility) {
return $2.lineno = 189, LzBrowserKernel.isAAActive()
} else {
$2.lineno = 192, LzView.__warnCapability("lz.Browser.isAAActive()", "accessibility");
return false
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "isAAActive";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 187;
return $lzsc$temp
})(), "updateAccessibility", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzBrowser.lzs";
$2.lineno = 203;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.accessibility) {
$2.lineno = 205, LzBrowserKernel.updateAccessibility()
} else {
$2.lineno = 207, LzView.__warnCapability("lz.Browser.updateAccessibility()", "accessibility")
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "updateAccessibility";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 203;
return $lzsc$temp
})(), "loadProxyPolicy", (function () {
var $lzsc$temp = function (url_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["url", url_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzBrowser.lzs";
$3.lineno = 215;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.proxypolicy) {
$3.lineno = 217, LzBrowserKernel.loadProxyPolicy(url_$0)
} else {
$3.lineno = 219, LzView.__warnCapability("lz.Browser.loadProxyPolicy()", "proxypolicy")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "loadProxyPolicy";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 215;
return $lzsc$temp
})(), "postToLps", true, "parsedloadurl", null, "defaultPortNums", {http: 80, https: 443}, "getBaseURL", (function () {
var $lzsc$temp = function (secure_$0, port_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["secure", secure_$0, "port", port_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzBrowser.lzs";
$5.lineno = 234;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 0:
secure_$0 = null;;case 1:
port_$1 = null
};
var url_$2 = ($5.lineno = 235, this.getLoadURLAsLzURL());
if (secure_$0) {
url_$2.protocol = "https"
};
if (port_$1) {
url_$2.port = port_$1
} else if (secure_$0 && port_$1 == null) {
url_$2.port = this.defaultPortNums[url_$2.protocol]
};
url_$2.query = null;
return url_$2
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "getBaseURL";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 234;
return $lzsc$temp
})(), "getLoadURLAsLzURL", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzBrowser.lzs";
$2.lineno = 258;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.parsedloadurl) {
this.parsedloadurl = ($2.lineno = 260, new LzURL(($2.lineno = 260, this.getLoadURL())))
};
return $2.lineno = 262, this.parsedloadurl.dupe()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getLoadURLAsLzURL";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 258;
return $lzsc$temp
})(), "toAbsoluteURL", (function () {
var $lzsc$temp = function (url_$0, secure_$1) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["url", url_$0, "secure", secure_$1];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/services/LzBrowser.lzs";
$8.lineno = 272;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
if (($8.lineno = 276, url_$0.indexOf("://")) > -1 || ($8.lineno = 277, url_$0.indexOf("/@WEBAPP@/")) == 0 || ($8.lineno = 278, url_$0.indexOf("file:")) == 0) {
return url_$0
};
var u_$2 = ($8.lineno = 282, this.getLoadURLAsLzURL());
u_$2.query = null;
if (($8.lineno = 293, url_$0.indexOf(":")) > -1) {
var colon_$3 = ($8.lineno = 297, url_$0.indexOf(":"));
var loadUrlIsSecure_$4 = u_$2.protocol == "https";
u_$2.protocol = ($8.lineno = 299, url_$0.substring(0, colon_$3));
if (secure_$1 || loadUrlIsSecure_$4) {
if (u_$2.protocol == "http") {
u_$2.protocol = "https"
}};
var path_$5 = ($8.lineno = 305, url_$0.substring(colon_$3 + 1, url_$0.length));
if (($8.lineno = 307, path_$5.charAt(0)) == "/") {
u_$2.path = ($8.lineno = 308, url_$0.substring(colon_$3 + 1));
u_$2.file = null
} else {
u_$2.file = ($8.lineno = 311, url_$0.substring(colon_$3 + 1))
}} else {
if (($8.lineno = 314, url_$0.charAt(0)) == "/") {
u_$2.path = url_$0;
u_$2.file = null
} else {
u_$2.file = url_$0
}};
return $8.lineno = 328, u_$2.toString()
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "toAbsoluteURL";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 272;
return $lzsc$temp
})(), "xmlEscape", (function () {
var $lzsc$temp = function (str_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["str", str_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzBrowser.lzs";
$3.lineno = 335;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 336, LzDataElement.__LZXMLescape(str_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "xmlEscape";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 335;
return $lzsc$temp
})(), "urlEscape", (function () {
var $lzsc$temp = function (str_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["str", str_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzBrowser.lzs";
$3.lineno = 345;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 347, Debug.info("lz.Browser.urlEscape is deprecated, use encodeURIComponent instead");
return $3.lineno = 349, encodeURIComponent(str_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "urlEscape";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 345;
return $lzsc$temp
})(), "urlUnescape", (function () {
var $lzsc$temp = function (str_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["str", str_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzBrowser.lzs";
$3.lineno = 358;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 360, Debug.info("lz.Browser.urlUnescape is deprecated, use decodeURIComponent instead");
return $3.lineno = 362, decodeURIComponent(str_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "urlUnescape";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 358;
return $lzsc$temp
})(), "usePost", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzBrowser.lzs";
$2.lineno = 366;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.postToLps && ($2.lineno = 367, this.supportsPost())
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "usePost";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 366;
return $lzsc$temp
})(), "supportsPost", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzBrowser.lzs";
$2.lineno = 371;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return true
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "supportsPost";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 371;
return $lzsc$temp
})(), "makeProxiedURL", (function () {
var $lzsc$temp = function (params_$0) {
var $c = Debug;
var $d = $c.backtraceStack;
try {
if ($d) {
var $e = ["params", params_$0];
$e.callee = arguments.callee;
$e["this"] = this;
$e.filename = "lfc/services/LzBrowser.lzs";
$e.lineno = 395;
$d.push($e);
if ($d.length > $d.maxDepth) {
$c.stackOverflow()
}};
var headers_$1 = params_$0.headers;
var postbody_$2 = params_$0.postbody;
var proxyurl_$3 = params_$0.proxyurl;
var custom_args_$4 = params_$0.serverproxyargs;
var qargs_$5;
if (custom_args_$4) {
qargs_$5 = {url: ($e.lineno = 406, this.toAbsoluteURL(params_$0.url, params_$0.secure)), lzt: params_$0.service, reqtype: ($e.lineno = 408, params_$0.httpmethod.toUpperCase())};
for (var opt_$6 in custom_args_$4) {
qargs_$5[opt_$6] = custom_args_$4[opt_$6]
}} else {
qargs_$5 = {url: ($e.lineno = 416, this.toAbsoluteURL(params_$0.url, params_$0.secure)), lzt: params_$0.service, reqtype: ($e.lineno = 418, params_$0.httpmethod.toUpperCase()), sendheaders: params_$0.sendheaders, trimwhitespace: params_$0.trimwhitespace, nsprefix: params_$0.trimwhitespace, timeout: params_$0.timeout, cache: params_$0.cacheable, ccache: params_$0.ccache}};
if (postbody_$2 != null) {
qargs_$5.lzpostbody = postbody_$2
};
qargs_$5.lzr = $runtime;
if (headers_$1 != null) {
var headerString_$7 = "";
for (var hname_$8 in headers_$1) {
headerString_$7 += hname_$8 + ": " + headers_$1[hname_$8] + "\n"
};
if (headerString_$7 != "") {
qargs_$5["headers"] = headerString_$7
}};
if (!params_$0.ccache) {
qargs_$5.__lzbc__ = ($e.lineno = 450, ($e.lineno = 450, new Date()).getTime())
};
var sep_$9 = "?";
for (var key_$a in qargs_$5) {
var val_$b = qargs_$5[key_$a];
if (typeof val_$b == "string") {
val_$b = ($e.lineno = 458, encodeURIComponent(val_$b));
val_$b = ($e.lineno = 461, val_$b.replace(LzDataset.slashPat, "%2F"))
};
proxyurl_$3 += sep_$9 + key_$a + "=" + val_$b;
sep_$9 = "&"
};
return proxyurl_$3
}
finally {
if ($d) {
$d.length--
}}};
$lzsc$temp["displayName"] = "makeProxiedURL";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 395;
return $lzsc$temp
})()], ["LzBrowser", void 0]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzBrowser.lzs";
$3.lineno = 33;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzBrowserService.LzBrowser = ($3.lineno = 66, new LzBrowserService())
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzBrowser.lzs#33/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzBrowser.lzs";
$lzsc$temp["_dbg_lineno"] = 33;
return $lzsc$temp
})()(LzBrowserService);
lz.BrowserService = LzBrowserService;
lz.Browser = LzBrowserService.LzBrowser;
Class.make("LzContextMenu", LzNode, ["onmenuopen", LzDeclaredEvent, "kernel", null, "items", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function (del_$0, attrs_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["del", del_$0, "attrs", attrs_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzContextMenu.lzs";
$6.lineno = 59;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 0:
del_$0 = null;;case 1:
attrs_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 61, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, (LzNode["$lzsc$isa"] ? ($6.lineno = 61, LzNode.$lzsc$isa(del_$0)) : del_$0 instanceof LzNode) ? del_$0 : null, (LzNode["$lzsc$isa"] ? ($6.lineno = 61, LzNode.$lzsc$isa(del_$0)) : del_$0 instanceof LzNode) ? attrs_$1 : {delegate: del_$0}, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 59;
return $lzsc$temp
})(), "construct", (function () {
var $lzsc$temp = function (parent_$0, args_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["parent", parent_$0, "args", args_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzContextMenu.lzs";
$5.lineno = 65;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($5.lineno = 66, this.nextMethod(arguments.callee, "construct"))).call(this, parent_$0, args_$1);
this.kernel = ($5.lineno = 68, new LzContextMenuKernel(this));
this.items = [];
var del_$2 = args_$1 && args_$1["delegate"] || null;
delete args_$1["delegate"];
$5.lineno = 76, this.$lzc$set_delegate(del_$2)
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 65;
return $lzsc$temp
})(), "init", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 80;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["init"] || ($3.lineno = 81, this.nextMethod(arguments.callee, "init"))).call(this);
var ip_$0 = this.immediateparent;
if (ip_$0 && (LzView["$lzsc$isa"] ? ($3.lineno = 84, LzView.$lzsc$isa(ip_$0)) : ip_$0 instanceof LzView)) {
$3.lineno = 85, ip_$0.$lzc$set_contextmenu(this)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "init";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 80;
return $lzsc$temp
})(), "$lzc$set_delegate", (function () {
var $lzsc$temp = function (delegate_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["delegate", delegate_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 90;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 91, this.kernel.setDelegate(delegate_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_delegate";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 90;
return $lzsc$temp
})(), "setDelegate", (function () {
var $lzsc$temp = function (delegate_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["delegate", delegate_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 101;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 102, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 103, this.$lzc$set_delegate(delegate_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setDelegate";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 101;
return $lzsc$temp
})(), "addItem", (function () {
var $lzsc$temp = function (item_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["item", item_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 111;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 112, this.items.push(item_$0);
$3.lineno = 113, this.kernel.addItem(item_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "addItem";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 111;
return $lzsc$temp
})(), "hideBuiltInItems", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzContextMenu.lzs";
$2.lineno = 120;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 121, this.kernel.hideBuiltInItems()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "hideBuiltInItems";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 120;
return $lzsc$temp
})(), "showBuiltInItems", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzContextMenu.lzs";
$2.lineno = 128;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 129, this.kernel.showBuiltInItems()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "showBuiltInItems";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 128;
return $lzsc$temp
})(), "clearItems", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzContextMenu.lzs";
$2.lineno = 136;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.items = [];
$2.lineno = 138, this.kernel.clearItems()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "clearItems";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 136;
return $lzsc$temp
})(), "getItems", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzContextMenu.lzs";
$2.lineno = 146;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.items
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getItems";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 146;
return $lzsc$temp
})(), "makeMenuItem", (function () {
var $lzsc$temp = function (title_$0, delegate_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["title", title_$0, "delegate", delegate_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzContextMenu.lzs";
$5.lineno = 157;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var item_$2 = ($5.lineno = 158, new LzContextMenuItem(title_$0, delegate_$1));
return item_$2
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "makeMenuItem";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 157;
return $lzsc$temp
})()], ["tagname", "contextmenu", "attributes", new LzInheritedHash(LzNode.attributes)]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 32;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzContextMenu.attributes.ignoreplacement = true
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzContextMenu.lzs#32/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 32;
return $lzsc$temp
})()(LzContextMenu);
lz[LzContextMenu.tagname] = LzContextMenu;
Class.make("LzContextMenuItem", LzNode, ["onselect", LzDeclaredEvent, "kernel", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function (title_$0, del_$1, children_$2, instcall_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["title", title_$0, "del", del_$1, "children", children_$2, "instcall", instcall_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzContextMenu.lzs";
$6.lineno = 208;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 1:
del_$1 = null;;case 2:
children_$2 = null;;case 3:
instcall_$3 = false
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($6.lineno = 211, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, (LzNode["$lzsc$isa"] ? ($6.lineno = 211, LzNode.$lzsc$isa(title_$0)) : title_$0 instanceof LzNode) ? title_$0 : null, (LzNode["$lzsc$isa"] ? ($6.lineno = 211, LzNode.$lzsc$isa(title_$0)) : title_$0 instanceof LzNode) ? del_$1 : {title: title_$0, delegate: del_$1}, children_$2, instcall_$3)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 208;
return $lzsc$temp
})(), "construct", (function () {
var $lzsc$temp = function (parent_$0, args_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["parent", parent_$0, "args", args_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/services/LzContextMenu.lzs";
$7.lineno = 215;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["construct"] || ($7.lineno = 216, this.nextMethod(arguments.callee, "construct"))).call(this, parent_$0, args_$1);
var title_$2 = args_$1 && args_$1["title"] || "";
delete args_$1["title"];
var del_$3 = args_$1 && args_$1["delegate"] || null;
delete args_$1["delegate"];
this.kernel = ($7.lineno = 223, new LzContextMenuItemKernel(this, title_$2, del_$3));
var ip_$4 = this.immediateparent;
if (ip_$4 && (LzContextMenu["$lzsc$isa"] ? ($7.lineno = 226, LzContextMenu.$lzsc$isa(ip_$4)) : ip_$4 instanceof LzContextMenu)) {
$7.lineno = 227, ip_$4.addItem(this)
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "construct";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 215;
return $lzsc$temp
})(), "$lzc$set_delegate", (function () {
var $lzsc$temp = function (delegate_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["delegate", delegate_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 232;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 233, this.kernel.setDelegate(delegate_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_delegate";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 232;
return $lzsc$temp
})(), "$lzc$set_caption", (function () {
var $lzsc$temp = function (caption_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["caption", caption_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 237;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 238, this.kernel.setCaption(caption_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_caption";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 237;
return $lzsc$temp
})(), "$lzc$set_enabled", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 242;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 243, this.kernel.setEnabled(val_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_enabled";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 242;
return $lzsc$temp
})(), "$lzc$set_separatorbefore", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 247;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 248, this.kernel.setSeparatorBefore(val_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_separatorbefore";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 247;
return $lzsc$temp
})(), "$lzc$set_visible", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 252;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 253, this.kernel.setVisible(val_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzc$set_visible";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 252;
return $lzsc$temp
})(), "setDelegate", (function () {
var $lzsc$temp = function (delegate_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["delegate", delegate_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 264;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 265, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 266, this.$lzc$set_delegate(delegate_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setDelegate";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 264;
return $lzsc$temp
})(), "setCaption", (function () {
var $lzsc$temp = function (caption_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["caption", caption_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 275;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 276, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 277, this.$lzc$set_caption(caption_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setCaption";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 275;
return $lzsc$temp
})(), "getCaption", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzContextMenu.lzs";
$2.lineno = 285;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 286, this.kernel.getCaption()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getCaption";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 285;
return $lzsc$temp
})(), "setEnabled", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 295;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 296, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 297, this.$lzc$set_enabled(val_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setEnabled";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 295;
return $lzsc$temp
})(), "setSeparatorBefore", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 306;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 307, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 308, this.$lzc$set_separatorbefore(val_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setSeparatorBefore";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 306;
return $lzsc$temp
})(), "setVisible", (function () {
var $lzsc$temp = function (val_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["val", val_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 317;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 318, Debug.deprecated(this, arguments.callee, this.setAttribute);
$3.lineno = 319, this.$lzc$set_visible(val_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setVisible";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 317;
return $lzsc$temp
})()], ["tagname", "contextmenuitem", "attributes", new LzInheritedHash(LzNode.attributes)]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzContextMenu.lzs";
$3.lineno = 188;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzContextMenu.lzs#188/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzContextMenu.lzs";
$lzsc$temp["_dbg_lineno"] = 188;
return $lzsc$temp
})()(LzContextMenuItem);
lz[LzContextMenuItem.tagname] = LzContextMenuItem;
Class.make("LzModeManagerService", LzEventable, ["onmode", LzDeclaredEvent, "__LZlastclick", null, "__LZlastClickTime", 0, "willCall", false, "eventsLocked", false, "modeArray", new Array(), "remotedebug", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzModeManager.lzs";
$2.lineno = 87;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 88, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
$2.lineno = 94, LzMouseKernel.setCallback(this, "rawMouseEvent")
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 87;
return $lzsc$temp
})(), "makeModal", (function () {
var $lzsc$temp = function (view_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["view", view_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzModeManager.lzs";
$4.lineno = 105;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (view_$0 && (this.modeArray.length == 0 || !($4.lineno = 106, this.hasMode(view_$0)))) {
$4.lineno = 107, this.modeArray.push(view_$0);
if (this.onmode.ready) $4.lineno = 108, this.onmode.sendEvent(view_$0);
var f_$1 = ($4.lineno = 109, lz.Focus.getFocus());
if (f_$1 && !($4.lineno = 110, f_$1.childOf(view_$0))) {
$4.lineno = 111, lz.Focus.clearFocus()
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "makeModal";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 105;
return $lzsc$temp
})(), "release", (function () {
var $lzsc$temp = function (view_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["view", view_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/services/LzModeManager.lzs";
$7.lineno = 120;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var marr_$1 = this.modeArray;
for (var i_$2 = marr_$1.length - 1;i_$2 >= 0;i_$2--) {
if (marr_$1[i_$2] === view_$0) {
$7.lineno = 125, marr_$1.splice(i_$2, marr_$1.length - i_$2);
var newmode_$3 = marr_$1[i_$2 - 1];
if (this.onmode.ready) $7.lineno = 127, this.onmode.sendEvent(newmode_$3 || null);
var f_$4 = ($7.lineno = 128, lz.Focus.getFocus());
if (newmode_$3 && f_$4 && !($7.lineno = 129, f_$4.childOf(newmode_$3))) {
$7.lineno = 130, lz.Focus.clearFocus()
};
return
}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "release";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 120;
return $lzsc$temp
})(), "releaseAll", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzModeManager.lzs";
$2.lineno = 140;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.modeArray = ($2.lineno = 142, new Array());
if (this.onmode.ready) $2.lineno = 143, this.onmode.sendEvent(null)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "releaseAll";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 140;
return $lzsc$temp
})(), "handleMouseEvent", (function () {
var $lzsc$temp = function (view_$0, eventStr_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["view", view_$0, "eventStr", eventStr_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/services/LzModeManager.lzs";
$7.lineno = 153;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (eventStr_$1 == "onmouseup") $7.lineno = 155, lz.Track.__LZmouseup(null);
if (view_$0 == null) {
view_$0 = ($7.lineno = 158, this.__findInputtextSelection())
};
$7.lineno = 161, lz.GlobalMouse.__mouseEvent(eventStr_$1, view_$0);
if (view_$0 == null || this.eventsLocked) {
return
};
var dosend_$2 = true;
for (var i_$3 = this.modeArray.length - 1;dosend_$2 && i_$3 >= 0;--i_$3) {
var mView_$4 = this.modeArray[i_$3];
if (!mView_$4) {
continue
};
if ($as2 || $as3) {
if (this.remotedebug == null) {
this.remotedebug = ($7.lineno = 179, lz.Browser.getInitArg("lzconsoledebug")) == "true"
}};
if (!this.remotedebug && ($7.lineno = 182, view_$0.childOf(Debug.console.window))) {
break
};
if ($7.lineno = 187, view_$0.childOf(mView_$4)) {
break
} else {
dosend_$2 = mView_$4.passModeEvent ? ($7.lineno = 190, mView_$4.passModeEvent(eventStr_$1, view_$0)) : false
}};
if (dosend_$2) {
if (eventStr_$1 == "onclick") {
if (this.__LZlastclick === view_$0 && view_$0.ondblclick.ready && ($7.lineno = 198, LzTimeKernel.getTimer()) - this.__LZlastClickTime < view_$0.DOUBLE_CLICK_TIME) {
eventStr_$1 = "ondblclick";
$7.lineno = 201, lz.GlobalMouse.__mouseEvent(eventStr_$1, view_$0);
this.__LZlastclick = null
} else {
this.__LZlastclick = view_$0;
this.__LZlastClickTime = ($7.lineno = 205, LzTimeKernel.getTimer())
}};
$7.lineno = 210, view_$0.mouseevent(eventStr_$1);
if (eventStr_$1 == "onmousedown") {
$7.lineno = 213, lz.Focus.__LZcheckFocusChange(view_$0)
}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "handleMouseEvent";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 153;
return $lzsc$temp
})(), "__LZallowInput", (function () {
var $lzsc$temp = function (modalview_$0, input_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["modalview", modalview_$0, "input", input_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzModeManager.lzs";
$4.lineno = 219;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if ($as2 || $as3) {
if (this.remotedebug == null) {
this.remotedebug = ($4.lineno = 223, lz.Browser.getInitArg("lzconsoledebug")) == "true"
}};
if (!this.remotedebug && ($4.lineno = 226, input_$1.childOf(Debug.console.window))) {
return true
};
return $4.lineno = 231, input_$1.childOf(modalview_$0)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZallowInput";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 219;
return $lzsc$temp
})(), "__LZallowFocus", (function () {
var $lzsc$temp = function (view_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["view", view_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzModeManager.lzs";
$4.lineno = 240;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var len_$1 = this.modeArray.length;
return len_$1 == 0 || ($4.lineno = 242, view_$0.childOf(this.modeArray[len_$1 - 1]))
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZallowFocus";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 240;
return $lzsc$temp
})(), "globalLockMouseEvents", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzModeManager.lzs";
$2.lineno = 248;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.eventsLocked = true
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "globalLockMouseEvents";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 248;
return $lzsc$temp
})(), "globalUnlockMouseEvents", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzModeManager.lzs";
$2.lineno = 255;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
this.eventsLocked = false
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "globalUnlockMouseEvents";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 255;
return $lzsc$temp
})(), "hasMode", (function () {
var $lzsc$temp = function (view_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["view", view_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzModeManager.lzs";
$5.lineno = 265;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var marr_$1 = this.modeArray;
for (var i_$2 = marr_$1.length - 1;i_$2 >= 0;i_$2--) {
if (view_$0 === marr_$1[i_$2]) {
return true
}};
return false
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "hasMode";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 265;
return $lzsc$temp
})(), "getModalView", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzModeManager.lzs";
$2.lineno = 278;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.modeArray[this.modeArray.length - 1] || null
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getModalView";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 278;
return $lzsc$temp
})(), "__findInputtextSelection", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzModeManager.lzs";
$2.lineno = 286;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return $2.lineno = 287, LzInputTextSprite.findSelection()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__findInputtextSelection";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 286;
return $lzsc$temp
})(), "rawMouseEvent", (function () {
var $lzsc$temp = function (eventname_$0, view_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["eventname", eventname_$0, "view", view_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzModeManager.lzs";
$4.lineno = 294;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (eventname_$0 == "onmousemove") {
$4.lineno = 296, lz.GlobalMouse.__mouseEvent("onmousemove", null)
} else {
$4.lineno = 298, this.handleMouseEvent(view_$1, eventname_$0)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "rawMouseEvent";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 294;
return $lzsc$temp
})()], ["LzModeManager", void 0]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzModeManager.lzs";
$3.lineno = 53;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzModeManagerService.LzModeManager = ($3.lineno = 99, new LzModeManagerService())
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzModeManager.lzs#53/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzModeManager.lzs";
$lzsc$temp["_dbg_lineno"] = 53;
return $lzsc$temp
})()(LzModeManagerService);
lz.ModeManagerService = LzModeManagerService;
lz.ModeManager = LzModeManagerService.LzModeManager;
Class.make("LzCursorService", LzEventable, ["$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzCursor.lzs";
$2.lineno = 60;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 61, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCursor.lzs";
$lzsc$temp["_dbg_lineno"] = 60;
return $lzsc$temp
})(), "showHandCursor", (function () {
var $lzsc$temp = function (show_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["show", show_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzCursor.lzs";
$3.lineno = 74;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 75, LzMouseKernel.showHandCursor(show_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "showHandCursor";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCursor.lzs";
$lzsc$temp["_dbg_lineno"] = 74;
return $lzsc$temp
})(), "setCursorGlobal", (function () {
var $lzsc$temp = function (resource_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["resource", resource_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzCursor.lzs";
$3.lineno = 82;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 83, LzMouseKernel.setCursorGlobal(resource_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setCursorGlobal";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCursor.lzs";
$lzsc$temp["_dbg_lineno"] = 82;
return $lzsc$temp
})(), "lock", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzCursor.lzs";
$2.lineno = 89;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 90, LzMouseKernel.lock()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "lock";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCursor.lzs";
$lzsc$temp["_dbg_lineno"] = 89;
return $lzsc$temp
})(), "unlock", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzCursor.lzs";
$2.lineno = 96;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 97, LzMouseKernel.unlock()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "unlock";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCursor.lzs";
$lzsc$temp["_dbg_lineno"] = 96;
return $lzsc$temp
})(), "restoreCursor", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzCursor.lzs";
$2.lineno = 104;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 105, LzMouseKernel.restoreCursor()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "restoreCursor";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCursor.lzs";
$lzsc$temp["_dbg_lineno"] = 104;
return $lzsc$temp
})()], ["LzCursor", void 0]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzCursor.lzs";
$3.lineno = 46;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzCursorService.LzCursor = ($3.lineno = 68, new LzCursorService())
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzCursor.lzs#46/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCursor.lzs";
$lzsc$temp["_dbg_lineno"] = 46;
return $lzsc$temp
})()(LzCursorService);
lz.CursorService = LzCursorService;
lz.Cursor = LzCursorService.LzCursor;
Class.make("LzURL", null, ["protocol", null, "host", null, "port", null, "path", null, "file", null, "query", null, "fragment", null, "_parsed", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function (url_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["url", url_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzURL.lzs";
$3.lineno = 73;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
url_$0 = null
};
if (url_$0 != null) {
$3.lineno = 75, this.parseURL(url_$0)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzURL.lzs";
$lzsc$temp["_dbg_lineno"] = 73;
return $lzsc$temp
})(), "parseURL", (function () {
var $lzsc$temp = function (url_$0) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["url", url_$0];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/services/LzURL.lzs";
$a.lineno = 85;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
if (this._parsed == url_$0) return;
this._parsed = url_$0;
var i0_$1 = 0;
var i1_$2 = ($a.lineno = 91, url_$0.indexOf(":"));
var iquery_$3 = ($a.lineno = 96, url_$0.indexOf("?", i0_$1));
var ifrag_$4 = ($a.lineno = 97, url_$0.indexOf("#", i0_$1));
var iopt_$5 = url_$0.length;
if (ifrag_$4 != -1) {
iopt_$5 = ifrag_$4
};
if (iquery_$3 != -1) {
iopt_$5 = iquery_$3
};
if (i1_$2 != -1) {
this.protocol = ($a.lineno = 109, url_$0.substring(i0_$1, i1_$2));
if (($a.lineno = 111, url_$0.substring(i1_$2 + 1, i1_$2 + 3)) == "//") {
i0_$1 = i1_$2 + 3;
i1_$2 = ($a.lineno = 116, url_$0.indexOf("/", i0_$1));
if (i1_$2 == -1) {
i1_$2 = iopt_$5
};
var hostPort_$6 = ($a.lineno = 121, url_$0.substring(i0_$1, i1_$2));
var i_$7 = ($a.lineno = 122, hostPort_$6.indexOf(":"));
if (i_$7 == -1) {
this.host = hostPort_$6;
this.port = null
} else {
this.host = ($a.lineno = 127, hostPort_$6.substring(0, i_$7));
this.port = ($a.lineno = 128, hostPort_$6.substring(i_$7 + 1))
}} else {
i1_$2++
};
i0_$1 = i1_$2
};
i1_$2 = iopt_$5;
$a.lineno = 142, this._splitPath(($a.lineno = 142, url_$0.substring(i0_$1, i1_$2)));
if (ifrag_$4 != -1) {
this.fragment = ($a.lineno = 145, url_$0.substring(ifrag_$4 + 1, url_$0.length))
} else {
ifrag_$4 = url_$0.length
};
if (iquery_$3 != -1) {
this.query = ($a.lineno = 151, url_$0.substring(iquery_$3 + 1, ifrag_$4))
}}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "parseURL";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzURL.lzs";
$lzsc$temp["_dbg_lineno"] = 85;
return $lzsc$temp
})(), "_splitPath", (function () {
var $lzsc$temp = function (pathfile_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["pathfile", pathfile_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzURL.lzs";
$4.lineno = 167;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (pathfile_$0 == "") {
return
};
var ls_$1 = ($4.lineno = 172, pathfile_$0.lastIndexOf("/"));
if (ls_$1 != -1) {
this.path = ($4.lineno = 175, pathfile_$0.substring(0, ls_$1 + 1));
this.file = ($4.lineno = 176, pathfile_$0.substring(ls_$1 + 1, pathfile_$0.length));
if (this.file == "") {
this.file = null
};
return
};
this.path = null;
this.file = pathfile_$0
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "_splitPath";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzURL.lzs";
$lzsc$temp["_dbg_lineno"] = 167;
return $lzsc$temp
})(), "dupe", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzURL.lzs";
$3.lineno = 188;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var o_$0 = ($3.lineno = 191, new LzURL());
o_$0.protocol = this.protocol;
o_$0.host = this.host;
o_$0.port = this.port;
o_$0.path = this.path;
o_$0.file = this.file;
o_$0.query = this.query;
o_$0.fragment = this.fragment;
return o_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "dupe";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzURL.lzs";
$lzsc$temp["_dbg_lineno"] = 188;
return $lzsc$temp
})(), "toString", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzURL.lzs";
$3.lineno = 205;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
var out_$0 = "";
if (this.protocol != null) {
out_$0 += this.protocol + ":";
if (this.host != null) {
out_$0 += "//" + this.host;
if (null != this.port && lz.Browser.defaultPortNums[this.protocol] != this.port) {
out_$0 += ":" + this.port
}}};
if (this.path != null) {
out_$0 += this.path
};
if (null != this.file) {
out_$0 += this.file
};
if (null != this.query) {
out_$0 += "?" + this.query
};
if (null != this.fragment) {
out_$0 += "#" + this.fragment
};
return out_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "toString";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzURL.lzs";
$lzsc$temp["_dbg_lineno"] = 205;
return $lzsc$temp
})()], ["merge", (function () {
var $lzsc$temp = function (url_$0, defaults_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["url", url_$0, "defaults", defaults_$1];
$7.callee = arguments.callee;
$7.filename = "lfc/services/LzURL.lzs";
$7.lineno = 243;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var m_$2 = ($7.lineno = 244, new LzURL());
var tocopy_$3 = {protocol: true, host: true, port: true, path: true, file: true, query: true, fragment: true};
for (var key_$4 in tocopy_$3) {
m_$2[key_$4] = url_$0[key_$4] != null ? url_$0[key_$4] : defaults_$1[key_$4]
};
return m_$2
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "merge";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzURL.lzs";
$lzsc$temp["_dbg_lineno"] = 243;
return $lzsc$temp
})()]);
lz.URL = LzURL;
Class.make("LzKeysService", LzEventable, ["$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzKeys.lzs";
$2.lineno = 53;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 57, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
$2.lineno = 63, LzKeyboardKernel.setCallback(this, "__keyEvent");
if (lz.embed["mousewheel"]) {
$2.lineno = 70, lz.embed.mousewheel.setCallback(this, "__mousewheelEvent")
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 53;
return $lzsc$temp
})(), "downKeysHash", {}, "downKeysArray", [], "keycombos", {}, "onkeydown", LzDeclaredEvent, "onkeyup", LzDeclaredEvent, "onmousewheeldelta", LzDeclaredEvent, "codemap", {shift: 16, control: 17, alt: 18}, "ctrlKey", false, "__keyEvent", (function () {
var $lzsc$temp = function (delta_$0, k_$1, type_$2, ctrlKey_$3) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["delta", delta_$0, "k", k_$1, "type", type_$2, "ctrlKey", ctrlKey_$3];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/services/LzKeys.lzs";
$9.lineno = 132;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
switch (arguments.length) {
case 3:
ctrlKey_$3 = false
};
this.ctrlKey = ctrlKey_$3;
var cm_$4 = this.codemap;
for (var key_$5 in delta_$0) {
var down_$6 = delta_$0[key_$5];
if (cm_$4[key_$5] != null) k_$1 = cm_$4[key_$5];
if (down_$6) {
$9.lineno = 141, this.gotKeyDown(k_$1)
} else {
$9.lineno = 143, this.gotKeyUp(k_$1)
}}}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "__keyEvent";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 132;
return $lzsc$temp
})(), "__allKeysUp", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzKeys.lzs";
$2.lineno = 152;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 153, LzKeyboardKernel.__allKeysUp()
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "__allKeysUp";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 152;
return $lzsc$temp
})(), "__browserTabEvent", (function () {
var $lzsc$temp = function (shiftdown_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["shiftdown", shiftdown_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzKeys.lzs";
$3.lineno = 160;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 161, LzKeyboardKernel.__browserTabEvent(shiftdown_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__browserTabEvent";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 160;
return $lzsc$temp
})(), "gotKeyDown", (function () {
var $lzsc$temp = function (kC_$0, info_$1) {
var $8 = Debug;
var $9 = $8.backtraceStack;
try {
if ($9) {
var $a = ["kC", kC_$0, "info", info_$1];
$a.callee = arguments.callee;
$a["this"] = this;
$a.filename = "lfc/services/LzKeys.lzs";
$a.lineno = 172;
$9.push($a);
if ($9.length > $9.maxDepth) {
$8.stackOverflow()
}};
switch (arguments.length) {
case 1:
info_$1 = null
};
var dkhash_$2 = this.downKeysHash;
var dkeys_$3 = this.downKeysArray;
var firstkeydown_$4 = !dkhash_$2[kC_$0];
if (firstkeydown_$4) {
dkhash_$2[kC_$0] = true;
$a.lineno = 180, dkeys_$3.push(kC_$0);
$a.lineno = 181, dkeys_$3.sort()
};
if (firstkeydown_$4 || info_$1 != "extra") {
if (dkhash_$2[229] != true) {
if (this.onkeydown.ready) $a.lineno = 190, this.onkeydown.sendEvent(kC_$0)
}};
if (firstkeydown_$4) {
var cp_$5 = this.keycombos;
for (var i_$6 = 0;i_$6 < dkeys_$3.length && cp_$5 != null;i_$6++) {
cp_$5 = cp_$5[dkeys_$3[i_$6]]
};
if (cp_$5 != null && ("delegates" in cp_$5)) {
var del_$7 = cp_$5.delegates;
for (var i_$6 = 0;i_$6 < del_$7.length;i_$6++) {
$a.lineno = 202, del_$7[i_$6].execute(dkeys_$3)
}}}}
finally {
if ($9) {
$9.length--
}}};
$lzsc$temp["displayName"] = "gotKeyDown";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 172;
return $lzsc$temp
})(), "gotKeyUp", (function () {
var $lzsc$temp = function (kC_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["kC", kC_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/services/LzKeys.lzs";
$7.lineno = 215;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var dkhash_$1 = this.downKeysHash;
var isDown_$2 = dkhash_$1[kC_$0];
delete dkhash_$1[kC_$0];
var dkeys_$3 = this.downKeysArray;
dkeys_$3.length = 0;
for (var k_$4 in dkhash_$1) {
$7.lineno = 249, dkeys_$3.push(k_$4)
};
if (isDown_$2 && this.onkeyup.ready) $7.lineno = 253, this.onkeyup.sendEvent(kC_$0)
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "gotKeyUp";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 215;
return $lzsc$temp
})(), "isKeyDown", (function () {
var $lzsc$temp = function (k_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["k", k_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/services/LzKeys.lzs";
$7.lineno = 261;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (typeof k_$0 == "string") {
return this.downKeysHash[this.keyCodes[$7.lineno = 263, k_$0.toLowerCase()]] == true
} else {
var down_$1 = true;
var dkhash_$2 = this.downKeysHash;
var kc_$3 = this.keyCodes;
for (var i_$4 = 0;i_$4 < k_$0.length;i_$4++) {
down_$1 = down_$1 && dkhash_$2[kc_$3[$7.lineno = 270, k_$0[i_$4].toLowerCase()]] == true
};
return down_$1
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "isKeyDown";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 261;
return $lzsc$temp
})(), "callOnKeyCombo", (function () {
var $lzsc$temp = function (d_$0, kCArr_$1) {
var $7 = Debug;
var $8 = $7.backtraceStack;
try {
if ($8) {
var $9 = ["d", d_$0, "kCArr", kCArr_$1];
$9.callee = arguments.callee;
$9["this"] = this;
$9.filename = "lfc/services/LzKeys.lzs";
$9.lineno = 375;
$8.push($9);
if ($8.length > $8.maxDepth) {
$7.stackOverflow()
}};
var kc_$2 = this.keyCodes;
var kcSorted_$3 = [];
for (var i_$4 = 0;i_$4 < kCArr_$1.length;i_$4++) {
$9.lineno = 379, kcSorted_$3.push(kc_$2[$9.lineno = 379, kCArr_$1[i_$4].toLowerCase()])
};
$9.lineno = 381, kcSorted_$3.sort();
var cp_$5 = this.keycombos;
for (var i_$4 = 0;i_$4 < kcSorted_$3.length;i_$4++) {
var cpnext_$6 = cp_$5[kcSorted_$3[i_$4]];
if (cpnext_$6 == null) {
cp_$5[kcSorted_$3[i_$4]] = cpnext_$6 = {delegates: []}};
cp_$5 = cpnext_$6
};
$9.lineno = 391, cp_$5.delegates.push(d_$0)
}
finally {
if ($8) {
$8.length--
}}};
$lzsc$temp["displayName"] = "callOnKeyCombo";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 375;
return $lzsc$temp
})(), "removeKeyComboCall", (function () {
var $lzsc$temp = function (d_$0, kCArr_$1) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["d", d_$0, "kCArr", kCArr_$1];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/services/LzKeys.lzs";
$8.lineno = 402;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
var kc_$2 = this.keyCodes;
var kcSorted_$3 = [];
for (var i_$4 = 0;i_$4 < kCArr_$1.length;i_$4++) {
$8.lineno = 406, kcSorted_$3.push(kc_$2[$8.lineno = 406, kCArr_$1[i_$4].toLowerCase()])
};
$8.lineno = 408, kcSorted_$3.sort();
var cp_$5 = this.keycombos;
for (var i_$4 = 0;i_$4 < kcSorted_$3.length;i_$4++) {
cp_$5 = cp_$5[kcSorted_$3[i_$4]];
if (cp_$5 == null) {
return false
}};
for (var i_$4 = cp_$5.delegates.length - 1;i_$4 >= 0;i_$4--) {
if (cp_$5.delegates[i_$4] == d_$0) {
$8.lineno = 419, cp_$5.delegates.splice(i_$4, 1)
}}}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "removeKeyComboCall";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 402;
return $lzsc$temp
})(), "enableEnter", (function () {
var $lzsc$temp = function (onroff_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["onroff", onroff_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzKeys.lzs";
$3.lineno = 427;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 430, Debug.write("lz.Keys.enableEnter not yet defined")
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "enableEnter";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 427;
return $lzsc$temp
})(), "mousewheeldelta", 0, "__mousewheelEvent", (function () {
var $lzsc$temp = function (d_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["d", d_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzKeys.lzs";
$3.lineno = 447;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.mousewheeldelta = d_$0;
if (this.onmousewheeldelta.ready) $3.lineno = 449, this.onmousewheeldelta.sendEvent(d_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__mousewheelEvent";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 447;
return $lzsc$temp
})(), "gotLastFocus", (function () {
var $lzsc$temp = function (ignore_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["ignore", ignore_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzKeys.lzs";
$3.lineno = 455;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 456, LzKeyboardKernel.gotLastFocus()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "gotLastFocus";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 455;
return $lzsc$temp
})(), "setGlobalFocusTrap", (function () {
var $lzsc$temp = function (istrapped_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["istrapped", istrapped_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzKeys.lzs";
$3.lineno = 461;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (canvas.capabilities.globalfocustrap) {
$3.lineno = 463, LzKeyboardKernel.setGlobalFocusTrap(istrapped_$0)
} else {
$3.lineno = 465, LzView.__warnCapability("lz.Keys.setGlobalFocusTrap(" + istrapped_$0 + ")", "globalfocustrap")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setGlobalFocusTrap";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 461;
return $lzsc$temp
})(), "keyCodes", {"0": 48, ")": 48, ";": 186, ":": 186, "1": 49, "!": 49, "=": 187, "+": 187, "2": 50, "@": 50, "<": 188, ",": 188, "3": 51, "#": 51, "-": 189, "_": 189, "4": 52, "$": 52, ">": 190, ".": 190, "5": 53, "%": 53, "/": 191, "?": 191, "6": 54, "^": 54, "`": 192, "~": 192, "7": 55, "&": 55, "[": 219, "{": 219, "8": 56, "*": 56, "\\": 220, "|": 220, "9": 57, "(": 57, "]": 221, "}": 221, '"': 222, "'": 222, a: 65, b: 66, c: 67, d: 68, e: 69, f: 70, g: 71, h: 72, i: 73, j: 74, k: 75, l: 76, m: 77, n: 78, o: 79, p: 80, q: 81, r: 82, s: 83, t: 84, u: 85, v: 86, w: 87, x: 88, y: 89, z: 90, numbpad0: 96, numbpad1: 97, numbpad2: 98, numbpad3: 99, numbpad4: 100, numbpad5: 101, numbpad6: 102, numbpad7: 103, numbpad8: 104, numbpad9: 105, multiply: 106, "add": 107, subtract: 109, decimal: 110, divide: 111, f1: 112, f2: 113, f3: 114, f4: 115, f5: 116, f6: 117, f7: 118, f8: 119, f9: 120, f10: 121, f11: 122, f12: 123, backspace: 8, tab: 9, clear: 12, enter: 13, shift: 16, control: 17, alt: 18, "pause": 19, "break": 19, capslock: 20, esc: 27, spacebar: 32, pageup: 33, pagedown: 34, end: 35, home: 36, leftarrow: 37, uparrow: 38, rightarrow: 39, downarrow: 40, insert: 45, "delete": 46, help: 47, numlock: 144, screenlock: 145, "IME": 229}], ["LzKeys", void 0]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzKeys.lzs";
$3.lineno = 40;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzKeysService.LzKeys = ($3.lineno = 76, new LzKeysService())
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzKeys.lzs#40/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzKeys.lzs";
$lzsc$temp["_dbg_lineno"] = 40;
return $lzsc$temp
})()(LzKeysService);
lz.KeysService = LzKeysService;
lz.Keys = LzKeysService.LzKeys;
Class.make("LzAudioService", null, ["capabilities", LzSprite.prototype.capabilities, "$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzAudio.lzs";
$2.lineno = 50;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 51, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzAudio.lzs";
$lzsc$temp["_dbg_lineno"] = 50;
return $lzsc$temp
})(), "playSound", (function () {
var $lzsc$temp = function (snd_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["snd", snd_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzAudio.lzs";
$3.lineno = 64;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.audio) {
$3.lineno = 66, LzAudioKernel.playSound(snd_$0)
} else {
$3.lineno = 68, LzView.__warnCapability("lz.Audio.playSound()", "audio")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "playSound";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzAudio.lzs";
$lzsc$temp["_dbg_lineno"] = 64;
return $lzsc$temp
})(), "stopSound", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzAudio.lzs";
$2.lineno = 75;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.audio) {
$2.lineno = 77, LzAudioKernel.stopSound()
} else {
$2.lineno = 79, LzView.__warnCapability("lz.Audio.stopSound()", "audio")
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "stopSound";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzAudio.lzs";
$lzsc$temp["_dbg_lineno"] = 75;
return $lzsc$temp
})(), "startSound", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzAudio.lzs";
$2.lineno = 87;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.audio) {
$2.lineno = 89, LzAudioKernel.startSound()
} else {
$2.lineno = 91, LzView.__warnCapability("lz.Audio.startSound()", "audio")
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "startSound";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzAudio.lzs";
$lzsc$temp["_dbg_lineno"] = 87;
return $lzsc$temp
})(), "getVolume", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzAudio.lzs";
$2.lineno = 99;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.audio) {
return $2.lineno = 101, LzAudioKernel.getVolume()
} else {
$2.lineno = 103, LzView.__warnCapability("lz.Audio.getVolume()", "audio")
};
return NaN
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getVolume";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzAudio.lzs";
$lzsc$temp["_dbg_lineno"] = 99;
return $lzsc$temp
})(), "setVolume", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzAudio.lzs";
$3.lineno = 112;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.audio) {
$3.lineno = 114, LzAudioKernel.setVolume(v_$0)
} else {
$3.lineno = 116, LzView.__warnCapability("lz.Audio.setVolume()", "audio")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setVolume";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzAudio.lzs";
$lzsc$temp["_dbg_lineno"] = 112;
return $lzsc$temp
})(), "getPan", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzAudio.lzs";
$2.lineno = 124;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.capabilities.audio) {
return $2.lineno = 126, LzAudioKernel.getPan()
} else {
$2.lineno = 128, LzView.__warnCapability("lz.Audio.getPan()", "audio")
};
return NaN
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getPan";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzAudio.lzs";
$lzsc$temp["_dbg_lineno"] = 124;
return $lzsc$temp
})(), "setPan", (function () {
var $lzsc$temp = function (p_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["p", p_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzAudio.lzs";
$3.lineno = 137;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.audio) {
$3.lineno = 139, LzAudioKernel.setPan(p_$0)
} else {
$3.lineno = 141, LzView.__warnCapability("lz.Audio.setPan()", "audio")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setPan";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzAudio.lzs";
$lzsc$temp["_dbg_lineno"] = 137;
return $lzsc$temp
})()], ["LzAudio", void 0]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzAudio.lzs";
$3.lineno = 27;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzAudioService.LzAudio = ($3.lineno = 58, new LzAudioService())
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzAudio.lzs#27/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzAudio.lzs";
$lzsc$temp["_dbg_lineno"] = 27;
return $lzsc$temp
})()(LzAudioService);
lz.AudioService = LzAudioService;
lz.Audio = LzAudioService.LzAudio;
Class.make("LzHistoryService", LzEventable, ["$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzHistory.lzs";
$2.lineno = 48;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 49, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 48;
return $lzsc$temp
})(), "isReady", false, "ready", false, "onready", LzDeclaredEvent, "persist", false, "_persistso", null, "offset", 0, "__lzdirty", false, "__lzhistq", [], "__lzcurrstate", {}, "capabilities", LzSprite.prototype.capabilities, "onoffset", LzDeclaredEvent, "receiveHistory", (function () {
var $lzsc$temp = function (o_$0) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["o", o_$0];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/services/LzHistory.lzs";
$8.lineno = 122;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
if (this.persist && !this._persistso) {
$8.lineno = 124, this.__initPersist()
};
var len_$1 = this.__lzhistq.length;
var offset_$2 = o_$0 * 1;
if (!offset_$2) {
offset_$2 = 0
} else if (offset_$2 > len_$1 - 1) {
offset_$2 = len_$1
};
var h_$3 = this.__lzhistq[offset_$2];
for (var u_$4 in h_$3) {
var obj_$5 = h_$3[u_$4];
{
var $lzsc$2141034759 = global[obj_$5.c];
var $lzsc$65430757 = obj_$5.n;
var $lzsc$191363678 = obj_$5.v;
if (!$lzsc$2141034759.__LZdeleted) {
var $lzsc$890193241 = "$lzc$set_" + $lzsc$65430757;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa($lzsc$2141034759[$lzsc$890193241]) : $lzsc$2141034759[$lzsc$890193241] instanceof Function) {
$lzsc$2141034759[$lzsc$890193241]($lzsc$191363678)
} else {
$lzsc$2141034759[$lzsc$65430757] = $lzsc$191363678;
var $lzsc$516247934 = $lzsc$2141034759["on" + $lzsc$65430757];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$516247934) : $lzsc$516247934 instanceof LzEvent) {
if ($lzsc$516247934.ready) {
$lzsc$516247934.sendEvent($lzsc$191363678)
}}}}}};
this.offset = offset_$2;
if (this.onoffset.ready) $8.lineno = 144, this.onoffset.sendEvent(offset_$2);
return offset_$2
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "receiveHistory";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 122;
return $lzsc$temp
})(), "receiveEvent", (function () {
var $lzsc$temp = function (n_$0, v_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["n", n_$0, "v", v_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzHistory.lzs";
$4.lineno = 151;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
{
if (!canvas.__LZdeleted) {
var $lzsc$980679584 = "$lzc$set_" + n_$0;
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(canvas[$lzsc$980679584]) : canvas[$lzsc$980679584] instanceof Function) {
canvas[$lzsc$980679584](v_$1)
} else {
canvas[n_$0] = v_$1;
var $lzsc$841708059 = canvas["on" + n_$0];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$841708059) : $lzsc$841708059 instanceof LzEvent) {
if ($lzsc$841708059.ready) {
$lzsc$841708059.sendEvent(v_$1)
}}}}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "receiveEvent";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 151;
return $lzsc$temp
})(), "getCanvasAttribute", (function () {
var $lzsc$temp = function (n_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["n", n_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzHistory.lzs";
$3.lineno = 159;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return canvas[n_$0]
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getCanvasAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 159;
return $lzsc$temp
})(), "setCanvasAttribute", (function () {
var $lzsc$temp = function (n_$0, v_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["n", n_$0, "v", v_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzHistory.lzs";
$4.lineno = 166;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
$4.lineno = 167, this.receiveEvent(n_$0, v_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "setCanvasAttribute";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 166;
return $lzsc$temp
})(), "callMethod", (function () {
var $lzsc$temp = function (js_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["js", js_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzHistory.lzs";
$3.lineno = 174;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 175, LzBrowserKernel.callMethod(js_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "callMethod";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 174;
return $lzsc$temp
})(), "save", (function () {
var $lzsc$temp = function (who_$0, prop_$1, val_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["who", who_$0, "prop", prop_$1, "val", val_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzHistory.lzs";
$5.lineno = 187;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (typeof who_$0 != "string") {
if (who_$0["id"]) who_$0 = who_$0["id"];
$5.lineno = 190, Debug.warn("Warning: this.save() requires a view ID to be passed in as a string for the first argument.");
if (!who_$0) return
};
if (val_$2 == null) val_$2 = global[who_$0][prop_$1];
this.__lzcurrstate[who_$0] = {c: who_$0, n: prop_$1, v: val_$2};
this.__lzdirty = true
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "save";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 187;
return $lzsc$temp
})(), "commit", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzHistory.lzs";
$2.lineno = 205;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (!this.__lzdirty) return;
this.__lzhistq[this.offset] = this.__lzcurrstate;
this.__lzhistq.length = this.offset + 1;
if (this.persist) {
if (!this._persistso) {
$2.lineno = 214, this.__initPersist()
};
this._persistso.data[this.offset] = this.__lzcurrstate
};
this.__lzcurrstate = {};
this.__lzdirty = false
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "commit";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 205;
return $lzsc$temp
})(), "move", (function () {
var $lzsc$temp = function (by_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["by", by_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzHistory.lzs";
$4.lineno = 229;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
switch (arguments.length) {
case 0:
by_$0 = 1
};
$4.lineno = 230, this.commit();
var o_$1 = this.offset + by_$0;
if (0 >= o_$1) o_$1 = 0;
if (this.__lzhistq.length >= o_$1) {
$4.lineno = 237, LzBrowserKernel.setHistory(o_$1)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "move";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 229;
return $lzsc$temp
})(), "next", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzHistory.lzs";
$2.lineno = 244;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 245, this.move(1)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "next";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 244;
return $lzsc$temp
})(), "prev", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzHistory.lzs";
$2.lineno = 251;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 252, this.move(-1)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "prev";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 251;
return $lzsc$temp
})(), "__initPersist", (function () {
var $lzsc$temp = function () {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = [];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzHistory.lzs";
$4.lineno = 256;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (this.persist) {
if (!this._persistso) {
this._persistso = ($4.lineno = 259, LzBrowserKernel.getPersistedObject("historystate"))
};
if (this._persistso && this._persistso.data) {
var d_$0 = this._persistso.data;
this.__lzhistq = [];
for (var i_$1 in d_$0) {
this.__lzhistq[i_$1] = d_$0[i_$1]
}}} else {
if (this._persistso) this._persistso = null
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__initPersist";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 256;
return $lzsc$temp
})(), "clear", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzHistory.lzs";
$2.lineno = 278;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
if (this.persist) {
if (!this._persistso) {
this._persistso = ($2.lineno = 281, LzBrowserKernel.getPersistedObject("historystate"))
};
$2.lineno = 283, this._persistso.clear()
};
this.__lzhistq = [];
this.offset = 0;
if (this.onoffset.ready) $2.lineno = 288, this.onoffset.sendEvent(0)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "clear";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 278;
return $lzsc$temp
})(), "setPersist", (function () {
var $lzsc$temp = function (p_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["p", p_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzHistory.lzs";
$3.lineno = 295;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.capabilities.persistence) {
this.persist = p_$0
} else {
$3.lineno = 300, Debug.warn("The %s runtime does not support %s", canvas["runtime"], "lz.History.setPersist()")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setPersist";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 295;
return $lzsc$temp
})(), "__start", (function () {
var $lzsc$temp = function (id_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["id", id_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzHistory.lzs";
$3.lineno = 308;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 310, lz.Browser.callJS("lz.embed.history.listen('" + id_$0 + "')");
this.isReady = true;
this.ready = true;
if (this.onready.ready) $3.lineno = 313, this.onready.sendEvent(true)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__start";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 308;
return $lzsc$temp
})()], ["LzHistory", void 0]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzHistory.lzs";
$3.lineno = 29;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzHistoryService.LzHistory = ($3.lineno = 56, new LzHistoryService())
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzHistory.lzs#29/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzHistory.lzs";
$lzsc$temp["_dbg_lineno"] = 29;
return $lzsc$temp
})()(LzHistoryService);
lz.HistoryService = LzHistoryService;
lz.History = LzHistoryService.LzHistory;
Class.make("LzTrackService", LzEventable, ["__LZreg", new Object(), "__LZactivegroups", null, "__LZtrackDel", null, "__LZmouseupDel", null, "__LZdestroydel", null, "__LZlastmouseup", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzTrack.lzs";
$2.lineno = 136;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 137, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.__LZtrackDel = ($2.lineno = 142, new LzDelegate(this, "__LZtrack"));
this.__LZmouseupDel = ($2.lineno = 143, new LzDelegate(this, "__LZmouseup", lz.GlobalMouse, "onmouseup"));
this.__LZdestroydel = ($2.lineno = 144, new LzDelegate(this, "__LZdestroyitem"));
this.__LZactivegroups = []
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTrack.lzs";
$lzsc$temp["_dbg_lineno"] = 136;
return $lzsc$temp
})(), "register", (function () {
var $lzsc$temp = function (v_$0, group_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["v", v_$0, "group", group_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzTrack.lzs";
$5.lineno = 159;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
if (v_$0 == null || group_$1 == null) return;
var reglist_$2 = this.__LZreg[group_$1];
if (!reglist_$2) {
this.__LZreg[group_$1] = reglist_$2 = [];
reglist_$2.__LZlasthit = null;
reglist_$2.__LZactive = false
};
$5.lineno = 169, reglist_$2.push(v_$0);
$5.lineno = 172, this.__LZdestroydel.register(v_$0, "ondestroy")
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "register";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTrack.lzs";
$lzsc$temp["_dbg_lineno"] = 159;
return $lzsc$temp
})(), "unregister", (function () {
var $lzsc$temp = function (v_$0, group_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["v", v_$0, "group", group_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzTrack.lzs";
$6.lineno = 181;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (v_$0 == null || group_$1 == null) return;
var reglist_$2 = this.__LZreg[group_$1];
if (reglist_$2) {
for (var i_$3 = 0;i_$3 < reglist_$2.length;i_$3++) {
if (reglist_$2[i_$3] == v_$0) {
if (reglist_$2.__LZlasthit == v_$0) {
if (this.__LZlastmouseup == v_$0) {
this.__LZlastmouseup = null
};
reglist_$2.__LZlasthit = null
};
$6.lineno = 193, reglist_$2.splice(i_$3, 1)
}};
if (reglist_$2.length == 0) {
if (reglist_$2.__LZactive) {
$6.lineno = 199, this.deactivate(group_$1)
};
delete this.__LZreg[group_$1]
}};
$6.lineno = 204, this.__LZdestroydel.unregisterFrom(v_$0.ondestroy)
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "unregister";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTrack.lzs";
$lzsc$temp["_dbg_lineno"] = 181;
return $lzsc$temp
})(), "__LZdestroyitem", (function () {
var $lzsc$temp = function (v_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["v", v_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzTrack.lzs";
$4.lineno = 212;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
for (var group_$1 in this.__LZreg) {
$4.lineno = 214, this.unregister(v_$0, group_$1)
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "__LZdestroyitem";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTrack.lzs";
$lzsc$temp["_dbg_lineno"] = 212;
return $lzsc$temp
})(), "activate", (function () {
var $lzsc$temp = function (group_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["group", group_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzTrack.lzs";
$5.lineno = 222;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var reglist_$1 = this.__LZreg[group_$0];
if (reglist_$1 && !reglist_$1.__LZactive) {
reglist_$1.__LZactive = true;
var agroups_$2 = this.__LZactivegroups;
if (agroups_$2.length == 0) {
$5.lineno = 229, this.__LZtrackDel.register(lz.Idle, "onidle")
};
$5.lineno = 232, agroups_$2.push(reglist_$1)
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "activate";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTrack.lzs";
$lzsc$temp["_dbg_lineno"] = 222;
return $lzsc$temp
})(), "deactivate", (function () {
var $lzsc$temp = function (group_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["group", group_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzTrack.lzs";
$6.lineno = 240;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var reglist_$1 = this.__LZreg[group_$0];
if (reglist_$1 && reglist_$1.__LZactive) {
var agroups_$2 = this.__LZactivegroups;
for (var i_$3 = 0;i_$3 < agroups_$2.length;++i_$3) {
if (agroups_$2[i_$3] == reglist_$1) {
$6.lineno = 246, agroups_$2.splice(i_$3, 1);
break
}};
if (agroups_$2.length == 0) {
$6.lineno = 251, this.__LZtrackDel.unregisterAll()
};
reglist_$1.__LZactive = false;
if (this.__LZlastmouseup == reglist_$1.__LZlasthit) {
this.__LZlastmouseup = null
};
reglist_$1.__LZlasthit = null
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "deactivate";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTrack.lzs";
$lzsc$temp["_dbg_lineno"] = 240;
return $lzsc$temp
})(), "__LZtopview", (function () {
var $lzsc$temp = function (a_$0, b_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["a", a_$0, "b", b_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzTrack.lzs";
$6.lineno = 265;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var atemp_$2 = a_$0;
var btemp_$3 = b_$1;
while (atemp_$2.nodeLevel < btemp_$3.nodeLevel) {
btemp_$3 = btemp_$3.immediateparent;
if (btemp_$3 == a_$0) return b_$1
};
while (btemp_$3.nodeLevel < atemp_$2.nodeLevel) {
atemp_$2 = atemp_$2.immediateparent;
if (atemp_$2 == b_$1) return a_$0
};
while (atemp_$2.immediateparent != btemp_$3.immediateparent) {
atemp_$2 = atemp_$2.immediateparent;
btemp_$3 = btemp_$3.immediateparent
};
return ($6.lineno = 284, atemp_$2.getZ()) > ($6.lineno = 284, btemp_$3.getZ()) ? a_$0 : b_$1
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "__LZtopview";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTrack.lzs";
$lzsc$temp["_dbg_lineno"] = 265;
return $lzsc$temp
})(), "__LZfindTopmost", (function () {
var $lzsc$temp = function (vlist_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["vlist", vlist_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzTrack.lzs";
$5.lineno = 291;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var top_$1 = vlist_$0[0];
for (var i_$2 = 1;i_$2 < vlist_$0.length;i_$2++) {
top_$1 = ($5.lineno = 294, this.__LZtopview(top_$1, vlist_$0[i_$2]))
};
return top_$1
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "__LZfindTopmost";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTrack.lzs";
$lzsc$temp["_dbg_lineno"] = 291;
return $lzsc$temp
})(), "__LZtrackgroup", (function () {
var $lzsc$temp = function (group_$0, hitlist_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["group", group_$0, "hitlist", hitlist_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/services/LzTrack.lzs";
$7.lineno = 304;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
for (var i_$2 = 0;i_$2 < group_$0.length;i_$2++) {
var v_$3 = group_$0[i_$2];
if (v_$3.visible) {
var vpos_$4 = ($7.lineno = 314, v_$3.getMouse(null));
if ($7.lineno = 315, v_$3.containsPt(vpos_$4.x, vpos_$4.y)) {
$7.lineno = 316, hitlist_$1.push(v_$3)
}}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "__LZtrackgroup";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTrack.lzs";
$lzsc$temp["_dbg_lineno"] = 304;
return $lzsc$temp
})(), "__LZtrack", (function () {
var $lzsc$temp = function (ignore_$0) {
var $b = Debug;
var $c = $b.backtraceStack;
try {
if ($c) {
var $d = ["ignore", ignore_$0];
$d.callee = arguments.callee;
$d["this"] = this;
$d.filename = "lfc/services/LzTrack.lzs";
$d.lineno = 327;
$c.push($d);
if ($c.length > $c.maxDepth) {
$b.stackOverflow()
}};
var foundviews_$1 = [];
var agroups_$2 = this.__LZactivegroups;
for (var i_$3 = 0;i_$3 < agroups_$2.length;++i_$3) {
var thisgroup_$4 = agroups_$2[i_$3];
var hitlist_$5 = [];
$d.lineno = 337, this.__LZtrackgroup(thisgroup_$4, hitlist_$5);
var lhit_$6 = thisgroup_$4.__LZlasthit;
if (hitlist_$5.length) {
var fd_$7 = ($d.lineno = 341, this.__LZfindTopmost(hitlist_$5));
if (fd_$7 == lhit_$6) continue;
$d.lineno = 345, foundviews_$1.push(fd_$7)
} else {
var fd_$7 = null
};
if (lhit_$6) {
var onmtrackout_$8 = lhit_$6.onmousetrackout;
if (onmtrackout_$8.ready) $d.lineno = 353, onmtrackout_$8.sendEvent(lhit_$6)
};
thisgroup_$4.__LZlasthit = fd_$7
};
for (var i_$3 = 0, len_$9 = foundviews_$1.length;i_$3 < len_$9;++i_$3) {
var v_$a = foundviews_$1[i_$3];
if (v_$a.onmousetrackover.ready) $d.lineno = 360, v_$a.onmousetrackover.sendEvent(v_$a)
}}
finally {
if ($c) {
$c.length--
}}};
$lzsc$temp["displayName"] = "__LZtrack";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTrack.lzs";
$lzsc$temp["_dbg_lineno"] = 327;
return $lzsc$temp
})(), "__LZmouseup", (function () {
var $lzsc$temp = function (ignore_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["ignore", ignore_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/services/LzTrack.lzs";
$7.lineno = 368;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var agroups_$1 = ($7.lineno = 371, this.__LZactivegroups.slice());
for (var i_$2 = 0;i_$2 < agroups_$1.length;++i_$2) {
var lhit_$3 = agroups_$1[i_$2].__LZlasthit;
if (lhit_$3) {
var onmtrackup_$4 = lhit_$3.onmousetrackup;
if (onmtrackup_$4.ready) {
if (this.__LZlastmouseup == lhit_$3) {
this.__LZlastmouseup = null
} else {
this.__LZlastmouseup = lhit_$3;
$7.lineno = 382, onmtrackup_$4.sendEvent(lhit_$3)
}}}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "__LZmouseup";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTrack.lzs";
$lzsc$temp["_dbg_lineno"] = 368;
return $lzsc$temp
})()], ["LzTrack", void 0]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzTrack.lzs";
$3.lineno = 106;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzTrackService.LzTrack = ($3.lineno = 149, new LzTrackService())
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzTrack.lzs#106/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTrack.lzs";
$lzsc$temp["_dbg_lineno"] = 106;
return $lzsc$temp
})()(LzTrackService);
lz.TrackService = LzTrackService;
lz.Track = LzTrackService.LzTrack;
Class.make("LzIdleEvent", LzEvent, ["registered", false, "$lzsc$initialize", (function () {
var $lzsc$temp = function (eventSender_$0, eventName_$1, d_$2) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["eventSender", eventSender_$0, "eventName", eventName_$1, "d", d_$2];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzIdle.lzs";
$5.lineno = 21;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
switch (arguments.length) {
case 2:
d_$2 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($5.lineno = 22, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, eventSender_$0, eventName_$1, d_$2);
if (this.ready && !this.registered) {
this.registered = true;
$5.lineno = 25, LzIdleKernel.addCallback(this, "sendEvent")
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzIdle.lzs";
$lzsc$temp["_dbg_lineno"] = 21;
return $lzsc$temp
})(), "addDelegate", (function () {
var $lzsc$temp = function (d_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["d", d_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzIdle.lzs";
$3.lineno = 29;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["addDelegate"] || ($3.lineno = 30, this.nextMethod(arguments.callee, "addDelegate"))).call(this, d_$0);
if (this.ready && !this.registered) {
this.registered = true;
$3.lineno = 33, LzIdleKernel.addCallback(this, "sendEvent")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "addDelegate";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzIdle.lzs";
$lzsc$temp["_dbg_lineno"] = 29;
return $lzsc$temp
})(), "removeDelegate", (function () {
var $lzsc$temp = function (d_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["d", d_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzIdle.lzs";
$3.lineno = 37;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
d_$0 = null
};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["removeDelegate"] || ($3.lineno = 38, this.nextMethod(arguments.callee, "removeDelegate"))).call(this, d_$0);
if (!this.ready && this.registered) {
$3.lineno = 40, LzIdleKernel.removeCallback(this, "sendEvent");
this.registered = false
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "removeDelegate";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzIdle.lzs";
$lzsc$temp["_dbg_lineno"] = 37;
return $lzsc$temp
})(), "clearDelegates", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzIdle.lzs";
$2.lineno = 45;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["clearDelegates"] || ($2.lineno = 46, this.nextMethod(arguments.callee, "clearDelegates"))).call(this);
if (!this.ready && this.registered) {
$2.lineno = 48, LzIdleKernel.removeCallback(this, "sendEvent");
this.registered = false
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "clearDelegates";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzIdle.lzs";
$lzsc$temp["_dbg_lineno"] = 45;
return $lzsc$temp
})()], null);
Class.make("LzIdleService", LzEventable, ["coi", void 0, "regNext", false, "removeCOI", null, "onidle", void 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzIdle.lzs";
$2.lineno = 105;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 106, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.coi = ($2.lineno = 111, new Array());
this.removeCOI = ($2.lineno = 112, new LzDelegate(this, "removeCallIdleDelegates"));
this.onidle = ($2.lineno = 113, new LzIdleEvent(this, "onidle"))
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzIdle.lzs";
$lzsc$temp["_dbg_lineno"] = 105;
return $lzsc$temp
})(), "callOnIdle", (function () {
var $lzsc$temp = function (d_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["d", d_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzIdle.lzs";
$3.lineno = 125;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 126, this.coi.push(d_$0);
if (!this.regNext) {
this.regNext = true;
$3.lineno = 129, this.removeCOI.register(this, "onidle")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "callOnIdle";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzIdle.lzs";
$lzsc$temp["_dbg_lineno"] = 125;
return $lzsc$temp
})(), "removeCallIdleDelegates", (function () {
var $lzsc$temp = function (t_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["t", t_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzIdle.lzs";
$5.lineno = 136;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var arr_$1 = ($5.lineno = 138, this.coi.slice(0));
this.coi.length = 0;
for (var i_$2 = 0;i_$2 < arr_$1.length;i_$2++) {
$5.lineno = 143, arr_$1[i_$2].execute(t_$0)
};
if (this.coi.length == 0) {
$5.lineno = 148, this.removeCOI.unregisterFrom(this.onidle);
this.regNext = false
}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "removeCallIdleDelegates";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzIdle.lzs";
$lzsc$temp["_dbg_lineno"] = 136;
return $lzsc$temp
})(), "setFrameRate", (function () {
var $lzsc$temp = function (fps_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["fps", fps_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzIdle.lzs";
$3.lineno = 157;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
fps_$0 = 30
};
$3.lineno = 158, LzIdleKernel.setFrameRate(fps_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setFrameRate";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzIdle.lzs";
$lzsc$temp["_dbg_lineno"] = 157;
return $lzsc$temp
})()], ["LzIdle", void 0]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzIdle.lzs";
$3.lineno = 78;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzIdleService.LzIdle = ($3.lineno = 116, new LzIdleService())
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzIdle.lzs#78/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzIdle.lzs";
$lzsc$temp["_dbg_lineno"] = 78;
return $lzsc$temp
})()(LzIdleService);
lz.IdleService = LzIdleService;
lz.Idle = LzIdleService.LzIdle;
Class.make("LzCSSStyleRule", null, ["selector", void 0, "properties", void 0, "_dbg_filename", null, "_dbg_lineno", 0, "$lzsc$initialize", (function () {
var $lzsc$temp = function (selector_$0, properties_$1, source_$2, line_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["selector", selector_$0, "properties", properties_$1, "source", source_$2, "line", line_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzCSSStyle.lzs";
$6.lineno = 33;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
this.selector = selector_$0;
this.properties = properties_$1;
this[Debug.FUNCTION_FILENAME] = source_$2;
this[Debug.FUNCTION_LINENO] = line_$3
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 33;
return $lzsc$temp
})(), "specificity", 0, "parsed", null, "_lexorder", void 0, "getSpecificity", (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzCSSStyle.lzs";
$6.lineno = 60;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
if (!this.specificity) {
var s_$0 = 0;
var p_$1 = this.parsed;
if (p_$1.type == LzCSSStyle._sel_compound) {
for (var i_$2 = 0, l_$3 = p_$1.length;i_$2 < l_$3;i_$2++) {
s_$0 += ($6.lineno = 70, LzCSSStyle.getSelectorSpecificity(p_$1[i_$2]))
}} else {
s_$0 = ($6.lineno = 73, LzCSSStyle.getSelectorSpecificity(p_$1))
};
this.specificity = s_$0
};
return this.specificity
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "getSpecificity";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 60;
return $lzsc$temp
})(), "_dbg_name", (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
var pname_$0;
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzCSSStyle.lzs";
$6.lineno = 83;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
pname_$0 = (function () {
var $lzsc$temp = function (rp_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["rp", rp_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzCSSStyle.lzs";
$6.lineno = 84;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var rptn_$1 = rp_$0["tagname"];
var rpi_$2 = rp_$0["id"];
var rpa_$3 = rp_$0["attrname"];
if (!(rptn_$1 || rpi_$2 || rpa_$3)) {
return "*"
};
return (rptn_$1 ? rptn_$1 : "") + (rpi_$2 ? "#" + rpi_$2 : "") + (rpa_$3 ? "[" + rpa_$3 + "=" + rp_$0.attrvalue + "]" : "")
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "pname";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 84;
return $lzsc$temp
})();
var rp_$1 = this.parsed;
if (rp_$1["length"]) {
var n_$2 = "";
for (var i_$3 = 0;i_$3 < rp_$1.length;i_$3++) {
n_$2 += ($6.lineno = 95, pname_$0(rp_$1[i_$3])) + " "
};
n_$2 = ($6.lineno = 97, n_$2.substring(0, n_$2.length - 1))
} else {
var n_$2 = ($6.lineno = 99, pname_$0(rp_$1))
};
return n_$2
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "services/LzCSSStyle.lzs#83/19";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 83;
return $lzsc$temp
})(), "equal", (function () {
var $lzsc$temp = function (that_$0) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
var equal_$1;
if ($a) {
var $b = ["that", that_$0];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/services/LzCSSStyle.lzs";
$b.lineno = 104;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
equal_$1 = (function () {
var $lzsc$temp = function (pa_$0, pb_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["pa", pa_$0, "pb", pb_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzCSSStyle.lzs";
$4.lineno = 105;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
return pa_$0["tagname"] == pb_$1["tagname"] && pa_$0["id"] == pb_$1["id"] && pa_$0["attrname"] == pb_$1["attrname"] && pa_$0["attrvalue"] == pb_$1["attrvalue"]
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "equal";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 105;
return $lzsc$temp
})();
var rap_$2 = this.parsed;
var rbp_$3 = that_$0.parsed;
if (rap_$2["length"] != rbp_$3["length"]) {
return false
};
if (rap_$2["length"]) {
for (var i_$4 = rap_$2.length - 1;i_$4 >= 0;i_$4--) {
if (!($b.lineno = 118, equal_$1(rap_$2[i_$4], rbp_$3[i_$4]))) {
return false
}}};
if (!($b.lineno = 123, equal_$1(rap_$2, rbp_$3))) {
return false
};
var aprops_$5 = this.properties;
var bprops_$6 = that_$0.properties;
for (var ak_$7 in aprops_$5) {
if (aprops_$5[ak_$7] !== bprops_$6[ak_$7]) {
return false
}};
for (var bk_$8 in bprops_$6) {
if (aprops_$5[bk_$8] !== bprops_$6[bk_$8]) {
return false
}};
return true
}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "equal";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 104;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzCSSStyle.lzs";
$3.lineno = 18;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzCSSStyle.lzs#18/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 18;
return $lzsc$temp
})()(LzCSSStyleRule);
lz.CSSStyleRule = LzCSSStyleRule;
Class.make("LzCSSStyleClass", null, ["$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzCSSStyle.lzs";
$2.lineno = 143;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 143;
return $lzsc$temp
})(), "getComputedStyle", (function () {
var $lzsc$temp = function (node_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["node", node_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzCSSStyle.lzs";
$4.lineno = 145;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var csssd_$1 = ($4.lineno = 146, new LzCSSStyleDeclaration());
$4.lineno = 147, csssd_$1.setNode(node_$0);
return csssd_$1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "getComputedStyle";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 145;
return $lzsc$temp
})(), "getPropertyValueFor", (function () {
var $lzsc$temp = function (node_$0, pname_$1) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["node", node_$0, "pname", pname_$1];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzCSSStyle.lzs";
$5.lineno = 153;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var pc_$2 = node_$0["__LZPropertyCache"];
if (!pc_$2) {
pc_$2 = ($5.lineno = 155, this.getPropertyCache(node_$0))
};
if (pname_$1 in pc_$2) {
return pc_$2[pname_$1]
};
$5.lineno = 162, Debug.warn("No CSS value found for node %#w for property name %s", node_$0, pname_$1);
return pc_$2[pname_$1] = void 0
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "getPropertyValueFor";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 153;
return $lzsc$temp
})(), "getPropertyCache", (function () {
var $lzsc$temp = function (node_$0) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["node", node_$0];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/services/LzCSSStyle.lzs";
$b.lineno = 168;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
if (!node_$0 || node_$0 === canvas) return {};
var pc_$1 = node_$0["__LZPropertyCache"];
if (pc_$1) {
return pc_$1
};
var ip_$2 = node_$0.immediateparent;
if (!ip_$2 || ip_$2 === canvas) {
var ipc_$3 = {}} else {
var ipc_$3 = ip_$2["__LZPropertyCache"] || ($b.lineno = 179, this.getPropertyCache(ip_$2))
};
var rules_$4 = node_$0["__LZRuleCache"];
if (!rules_$4) {
rules_$4 = ($b.lineno = 182, this.getRulesCache(node_$0))
};
if (rules_$4.length == 0) {
return node_$0.__LZPropertyCache = ipc_$3
};
var pc_$1 = {};
for (var k_$5 in ipc_$3) {
pc_$1[k_$5] = ipc_$3[k_$5]
};
for (var i_$6 = rules_$4.length - 1;i_$6 >= 0;i_$6--) {
var props_$7 = rules_$4[i_$6].properties;
for (var pname_$8 in props_$7) {
pc_$1[pname_$8] = props_$7[pname_$8]
}};
return node_$0.__LZPropertyCache = pc_$1
}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "getPropertyCache";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 168;
return $lzsc$temp
})(), "getRulesCache", (function () {
var $lzsc$temp = function (node_$0) {
var $o = Debug;
var $p = $o.backtraceStack;
try {
if ($p) {
var $q = ["node", node_$0];
$q.callee = arguments.callee;
$q["this"] = this;
$q.filename = "lfc/services/LzCSSStyle.lzs";
$q.lineno = 205;
$p.push($q);
if ($p.length > $p.maxDepth) {
$o.stackOverflow()
}};
var rules_$1 = node_$0["__LZRuleCache"];
if (rules_$1) {
return rules_$1
};
rules_$1 = ($q.lineno = 208, new Array());
var tryRules_$2 = ($q.lineno = 209, new Array());
if (this._rulenum != this._lastSort) {
$q.lineno = 222, this._sortRules()
};
var id_$3 = node_$0["id"];
if (id_$3) {
var ir_$4 = this._idRules;
if (id_$3 in ir_$4) {
tryRules_$2 = ($q.lineno = 231, tryRules_$2.concat(ir_$4[id_$3]))
}};
var ar_$5 = this._attrRules;
for (var k_$6 in ar_$5) {
if (node_$0[k_$6]) {
var rs_$7 = ar_$5[k_$6][node_$0[k_$6]];
if (Array["$lzsc$isa"] ? ($q.lineno = 243, Array.$lzsc$isa(rs_$7)) : rs_$7 instanceof Array) {
tryRules_$2 = ($q.lineno = 246, tryRules_$2.concat(rs_$7))
}}};
var cr_$8 = this._tagRules;
for (var tn_$9 in cr_$8) {
var c_$a = lz[tn_$9];
if (c_$a && (c_$a["$lzsc$isa"] ? ($q.lineno = 256, c_$a.$lzsc$isa(node_$0)) : node_$0 instanceof c_$a)) {
tryRules_$2 = ($q.lineno = 257, tryRules_$2.concat(cr_$8[tn_$9]))
}};
var rr_$b = this._rules;
for (var i_$c = rr_$b.length - 1;i_$c >= 0;i_$c--) {
$q.lineno = 264, tryRules_$2.push(rr_$b[i_$c])
};
var sortNeeded_$d = false;
var lastSpecificity_$e = Infinity;
for (var i_$c = 0, l_$f = tryRules_$2.length;i_$c < l_$f;i_$c++) {
var r_$g = tryRules_$2[i_$c];
if (!sortNeeded_$d) {
var rs_$7 = r_$g.specificity;
if (!rs_$7 || rs_$7 >= lastSpecificity_$e) {
sortNeeded_$d = true
} else {
lastSpecificity_$e = rs_$7
}};
var rp_$h = r_$g.parsed;
var rpt_$i = rp_$h.type;
var compound_$j = rpt_$i == this._sel_compound;
if (compound_$j) {
rp_$h = rp_$h[rp_$h.length - 1];
rpt_$i = rp_$h.type
};
var rptn_$k = rp_$h.tagname;
var rpc_$l = rptn_$k ? lz[rptn_$k] : null;
var rpi_$m = rp_$h["id"];
var rpa_$n = rp_$h["attrname"];
if ((!rptn_$k || rpc_$l && (rpc_$l["$lzsc$isa"] ? ($q.lineno = 303, rpc_$l.$lzsc$isa(node_$0)) : node_$0 instanceof rpc_$l)) && (!rpi_$m || node_$0["id"] == rpi_$m) && (!rpa_$n || node_$0[rpa_$n] == rp_$h.attrvalue)) {
if (!compound_$j) {
$q.lineno = 307, rules_$1.push(r_$g)
} else {
if ($q.lineno = 311, this._compoundSelectorApplies(r_$g.parsed, node_$0)) {
$q.lineno = 312, rules_$1.push(r_$g)
}}}};
if (sortNeeded_$d) {
$q.lineno = 326, rules_$1.sort(this.__compareSpecificity)
};
node_$0.__LZRuleCache = rules_$1;
return rules_$1
}
finally {
if ($p) {
$p.length--
}}};
$lzsc$temp["displayName"] = "getRulesCache";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 205;
return $lzsc$temp
})(), "getSelectorSpecificity", (function () {
var $lzsc$temp = function (parsedsel_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["parsedsel", parsedsel_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzCSSStyle.lzs";
$3.lineno = 336;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (parsedsel_$0.type) {
case this._sel_tag:
case this._sel_star:
return 1;;case this._sel_id:
return 100;;case this._sel_attribute:
return 10;;case this._sel_tagAndAttr:
return 11
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getSelectorSpecificity";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 336;
return $lzsc$temp
})(), "__compareSpecificity", (function () {
var $lzsc$temp = function (rA_$0, rB_$1) {
var $e = Debug;
var $f = $e.backtraceStack;
try {
if ($f) {
var $g = ["rA", rA_$0, "rB", rB_$1];
$g.callee = arguments.callee;
$g["this"] = this;
$g.filename = "lfc/services/LzCSSStyle.lzs";
$g.lineno = 354;
$f.push($g);
if ($f.length > $f.maxDepth) {
$e.stackOverflow()
}};
var specificityA_$2 = rA_$0.specificity;
var specificityB_$3 = rB_$1.specificity;
if (specificityA_$2 != specificityB_$3) {
return specificityA_$2 < specificityB_$3 ? 1 : -1
};
var rap_$4 = rA_$0.parsed;
var rbp_$5 = rB_$1.parsed;
var lexorder_$6 = rA_$0._lexorder < rB_$1._lexorder ? 1 : -1;
if (!rap_$4["length"] && !rbp_$5["length"]) {
var ratn_$7 = rap_$4["tagname"];
var rbtn_$8 = rbp_$5["tagname"];
if (!ratn_$7 || !rbtn_$8 || ratn_$7 == rbtn_$8) {
return lexorder_$6
};
var rac_$9 = lz[ratn_$7];
var rbc_$a = lz[rbtn_$8];
if (rac_$9 && rbc_$a) {
if ($g.lineno = 389, rbc_$a.prototype.isPrototypeOf(rac_$9.prototype)) {
return -1
};
if ($g.lineno = 390, rac_$9.prototype.isPrototypeOf(rbc_$a.prototype)) {
return 1
}};
return lexorder_$6
};
for (var i_$b = 0;i_$b < rap_$4.length;i_$b++) {
var rapi_$c = rap_$4[i_$b];
var rbpi_$d = rbp_$5[i_$b];
if (!rapi_$c || !rbpi_$d) {
break
};
var ratn_$7 = rapi_$c["tagname"];
var rbtn_$8 = rbpi_$d["tagname"];
if (ratn_$7 && rbtn_$8 && ratn_$7 != rbtn_$8) {
var rac_$9 = lz[ratn_$7];
var rbc_$a = lz[rbtn_$8];
if (rac_$9 && rbc_$a) {
if ($g.lineno = 421, rbc_$a.prototype.isPrototypeOf(rac_$9.prototype)) {
return -1
};
if ($g.lineno = 422, rac_$9.prototype.isPrototypeOf(rbc_$a.prototype)) {
return 1
}}}};
return lexorder_$6
}
finally {
if ($f) {
$f.length--
}}};
$lzsc$temp["displayName"] = "__compareSpecificity";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 354;
return $lzsc$temp
})(), "_printRuleArray", (function () {
var $lzsc$temp = function (arr_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["arr", arr_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzCSSStyle.lzs";
$4.lineno = 433;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
for (var i_$1 = 0;i_$1 < arr_$0.length;i_$1++) {
$4.lineno = 436, Debug.write(i_$1, arr_$0[i_$1])
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "_printRuleArray";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 433;
return $lzsc$temp
})(), "_compoundSelectorApplies", (function () {
var $lzsc$temp = function (parsedsel_$0, startnode_$1) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["parsedsel", parsedsel_$0, "startnode", startnode_$1];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/services/LzCSSStyle.lzs";
$b.lineno = 446;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
for (var node_$2 = startnode_$1, i_$3 = parsedsel_$0.length - 1;i_$3 >= 0 && node_$2 !== canvas;i_$3--, node_$2 = node_$2.parent) {
var rp_$4 = parsedsel_$0[i_$3];
var rptn_$5 = rp_$4.tagname;
var rpc_$6 = rptn_$5 ? lz[rptn_$5] : null;
var rpi_$7 = rp_$4["id"];
var rpa_$8 = rp_$4["attrname"];
while (node_$2 !== canvas) {
if ((!rptn_$5 || rpc_$6 && (rpc_$6["$lzsc$isa"] ? ($b.lineno = 468, rpc_$6.$lzsc$isa(node_$2)) : node_$2 instanceof rpc_$6)) && (!rpi_$7 || node_$2.id == rpi_$7) && (!rpa_$8 || node_$2[rpa_$8] == rp_$4.attrvalue)) {
if (i_$3 == 0) {
return true
} else {
break
}} else {
if (node_$2 === startnode_$1) {
return false
}};
node_$2 = node_$2.parent
}};
return false
}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "_compoundSelectorApplies";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 446;
return $lzsc$temp
})(), "_sel_unknown", 0, "_sel_star", 1, "_sel_id", 2, "_sel_tag", 3, "_sel_compound", 4, "_sel_attribute", 5, "_sel_tagAndAttr", 6, "_rules", new Array(), "_attrRules", {}, "_idRules", {}, "_tagRules", {}, "_rulenum", 0, "_lastSort", -1, "_sortRules", (function () {
var $lzsc$temp = function () {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
var deleteDuplicates_$0;
if ($5) {
var $6 = [];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzCSSStyle.lzs";
$6.lineno = 532;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
deleteDuplicates_$0 = (function () {
var $lzsc$temp = function (sortedRules_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["sortedRules", sortedRules_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzCSSStyle.lzs";
$4.lineno = 533;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
for (var i_$1 = sortedRules_$0.length - 2;i_$1 >= 0;i_$1--) {
if ($4.lineno = 535, sortedRules_$0[i_$1].equal(sortedRules_$0[i_$1 + 1])) {
$4.lineno = 540, sortedRules_$0.splice(i_$1 + 1, 1)
}};
return sortedRules_$0
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "deleteDuplicates";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 533;
return $lzsc$temp
})();
if (this._rulenum != this._lastSort) {
$6.lineno = 547, this._rules.sort(this.__compareSpecificity);
$6.lineno = 548, deleteDuplicates_$0(this._rules);
for (var k_$1 in this._attrRules) {
var ars_$2 = this._attrRules[k_$1];
for (var v_$3 in ars_$2) {
$6.lineno = 552, ars_$2[v_$3].sort(this.__compareSpecificity);
$6.lineno = 553, deleteDuplicates_$0(ars_$2[v_$3])
}};
for (var k_$1 in this._idRules) {
$6.lineno = 557, this._idRules[k_$1].sort(this.__compareSpecificity);
$6.lineno = 558, deleteDuplicates_$0(this._idRules[k_$1])
};
for (var k_$1 in this._tagRules) {
$6.lineno = 561, this._tagRules[k_$1].sort(this.__compareSpecificity);
$6.lineno = 562, deleteDuplicates_$0(this._tagRules[k_$1])
};
this._lastSort = this._rulenum
}}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "_sortRules";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 532;
return $lzsc$temp
})(), "_addRule", (function () {
var $lzsc$temp = function (r_$0) {
var $a = Debug;
var $b = $a.backtraceStack;
try {
if ($b) {
var $c = ["r", r_$0];
$c.callee = arguments.callee;
$c["this"] = this;
$c.filename = "lfc/services/LzCSSStyle.lzs";
$c.lineno = 570;
$b.push($c);
if ($b.length > $b.maxDepth) {
$a.stackOverflow()
}};
r_$0._lexorder = this._rulenum++;
var sel_$1 = r_$0.selector;
r_$0.parsed = null;
var lastsel_$2;
if (Array["$lzsc$isa"] ? ($c.lineno = 577, Array.$lzsc$isa(sel_$1)) : sel_$1 instanceof Array) {
r_$0.parsed = [];
r_$0.parsed.type = this._sel_compound;
for (var i_$3 = 0;i_$3 < sel_$1.length;i_$3++) {
$c.lineno = 581, r_$0.parsed.push(($c.lineno = 581, this._parseSelector(sel_$1[i_$3])))
};
lastsel_$2 = r_$0.parsed[r_$0.parsed.length - 1]
} else {
r_$0.parsed = ($c.lineno = 585, this._parseSelector(sel_$1));
lastsel_$2 = r_$0.parsed
};
$c.lineno = 590, r_$0.getSpecificity();
if (lastsel_$2.type == this._sel_attribute || lastsel_$2.type == this._sel_tagAndAttr) {
var attr_$4 = lastsel_$2.attrname;
var atab_$5 = this._attrRules[attr_$4];
if (!atab_$5) {
atab_$5 = this._attrRules[attr_$4] = {}};
var val_$6 = lastsel_$2.attrvalue;
var vtab_$7 = atab_$5[val_$6];
if (!vtab_$7) {
vtab_$7 = atab_$5[val_$6] = []
};
$c.lineno = 604, vtab_$7.push(r_$0)
} else if (lastsel_$2.type == this._sel_id) {
var id_$8 = lastsel_$2.id;
if (!this._idRules[id_$8]) {
this._idRules[id_$8] = []
};
$c.lineno = 608, this._idRules[id_$8].push(r_$0)
} else if (lastsel_$2.type == this._sel_tag) {
var tag_$9 = lastsel_$2.tagname;
if (!this._tagRules[tag_$9]) {
this._tagRules[tag_$9] = []
};
$c.lineno = 612, this._tagRules[tag_$9].push(r_$0)
} else {
$c.lineno = 615, Debug.error("Unknown cohort for rule: %w", r_$0);
$c.lineno = 617, this._rules.push(r_$0)
}}
finally {
if ($b) {
$b.length--
}}};
$lzsc$temp["displayName"] = "_addRule";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 570;
return $lzsc$temp
})(), "_parseSelector", (function () {
var $lzsc$temp = function (sel_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["sel", sel_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzCSSStyle.lzs";
$3.lineno = 622;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (typeof sel_$0) {
case "object":
if (sel_$0.simpleselector) {
sel_$0.type = this._sel_tagAndAttr;
sel_$0.tagname = sel_$0.simpleselector
} else sel_$0.type = this._sel_attribute;return sel_$0;break;;case "string":
return $3.lineno = 633, this._parseStringSelector(sel_$0);break
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "_parseSelector";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 622;
return $lzsc$temp
})(), "_parseStringSelector", (function () {
var $lzsc$temp = function (sel_$0) {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = ["sel", sel_$0];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/services/LzCSSStyle.lzs";
$5.lineno = 639;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
var parsed_$1 = {};
if (sel_$0 == "*") {
parsed_$1.type = this._sel_star
} else {
var index_$2 = ($5.lineno = 644, sel_$0.indexOf("#"));
if (index_$2 >= 0) {
parsed_$1.id = ($5.lineno = 647, sel_$0.substring(index_$2 + 1));
parsed_$1.type = this._sel_id
} else {
parsed_$1.type = this._sel_tag;
parsed_$1.tagname = sel_$0
}};
return parsed_$1
}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "_parseStringSelector";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 639;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzCSSStyle.lzs";
$3.lineno = 141;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzCSSStyle.lzs#141/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 141;
return $lzsc$temp
})()(LzCSSStyleClass);
var LzCSSStyle = new LzCSSStyleClass();
lz.CSSStyle = LzCSSStyleClass;
Class.make("LzCSSStyleDeclaration", null, ["$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzCSSStyle.lzs";
$2.lineno = 671;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 671;
return $lzsc$temp
})(), "_node", null, "getPropertyValue", (function () {
var $lzsc$temp = function (pname_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["pname", pname_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzCSSStyle.lzs";
$3.lineno = 676;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
return $3.lineno = 677, LzCSSStyle.getPropertyValueFor(this._node, pname_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getPropertyValue";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 676;
return $lzsc$temp
})(), "setNode", (function () {
var $lzsc$temp = function (node_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["node", node_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzCSSStyle.lzs";
$3.lineno = 680;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this._node = node_$0
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "setNode";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 680;
return $lzsc$temp
})()], null);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzCSSStyle.lzs";
$3.lineno = 669;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzCSSStyle.lzs#669/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyle.lzs";
$lzsc$temp["_dbg_lineno"] = 669;
return $lzsc$temp
})()(LzCSSStyleDeclaration);
lz.CSSStyleDeclaration = LzCSSStyleDeclaration;
Class.make("LzStyleSheet", null, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (title_$0, href_$1, media_$2, sstype_$3) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["title", title_$0, "href", href_$1, "media", media_$2, "sstype", sstype_$3];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzStyleSheet.lzs";
$6.lineno = 30;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
this.type = sstype_$3;
this.disabled = false;
this.ownerNode = null;
this.parentStyleSheet = null;
this.href = href_$1;
this.title = title_$0;
this.media = media_$2
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzStyleSheet.lzs";
$lzsc$temp["_dbg_lineno"] = 30;
return $lzsc$temp
})(), "type", null, "disabled", null, "ownerNode", null, "parentStyleSheet", null, "href", null, "title", null, "media", null], null);
Class.make("LzCSSStyleSheet", LzStyleSheet, ["$lzsc$initialize", (function () {
var $lzsc$temp = function (title_$0, href_$1, media_$2, sstype_$3, ownerRule_$4, cssRules_$5) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["title", title_$0, "href", href_$1, "media", media_$2, "sstype", sstype_$3, "ownerRule", ownerRule_$4, "cssRules", cssRules_$5];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/services/LzCSSStyleSheet.lzs";
$8.lineno = 39;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($8.lineno = 40, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this, title_$0, href_$1, media_$2, sstype_$3);
this.ownerRule = ownerRule_$4;
this.cssRules = cssRules_$5
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyleSheet.lzs";
$lzsc$temp["_dbg_lineno"] = 39;
return $lzsc$temp
})(), "ownerRule", null, "cssRules", null, "insertRule", (function () {
var $lzsc$temp = function (rule_$0, index_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["rule", rule_$0, "index", index_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzCSSStyleSheet.lzs";
$4.lineno = 83;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
if (!this.cssRules) {
this.cssRules = []
};
if (index_$1 < 0) {
return null
};
if (index_$1 < this.cssRules.length) {
$4.lineno = 94, this.cssRules.splice(index_$1, 0, rule_$0);
return index_$1
};
if (index_$1 == this.cssRules.length) {
return ($4.lineno = 100, this.cssRules.push(rule_$0)) - 1
};
return null
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "insertRule";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzCSSStyleSheet.lzs";
$lzsc$temp["_dbg_lineno"] = 83;
return $lzsc$temp
})()], null);
lz.CSSStyleSheet = LzCSSStyleSheet;
Class.make("LzFocusService", LzEventable, ["onfocus", LzDeclaredEvent, "onescapefocus", LzDeclaredEvent, "lastfocus", null, "csel", null, "cseldest", null, "$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzFocus.lzs";
$2.lineno = 64;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 65, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this);
this.upDel = ($2.lineno = 69, new LzDelegate(this, "gotKeyUp", lz.Keys, "onkeyup"));
this.downDel = ($2.lineno = 70, new LzDelegate(this, "gotKeyDown", lz.Keys, "onkeydown"));
this.lastfocusDel = ($2.lineno = 72, new LzDelegate(lz.Keys, "gotLastFocus", this, "onescapefocus"))
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 64;
return $lzsc$temp
})(), "upDel", void 0, "downDel", void 0, "lastfocusDel", void 0, "focuswithkey", false, "__LZskipblur", false, "__LZsfnextfocus", -1, "__LZsfrunning", false, "gotKeyUp", (function () {
var $lzsc$temp = function (kC_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["kC", kC_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzFocus.lzs";
$3.lineno = 105;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.csel && this.csel.onkeyup.ready) $3.lineno = 107, this.csel.onkeyup.sendEvent(kC_$0)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "gotKeyUp";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 105;
return $lzsc$temp
})(), "gotKeyDown", (function () {
var $lzsc$temp = function (kC_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["kC", kC_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzFocus.lzs";
$3.lineno = 113;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (this.csel && this.csel.onkeydown.ready) $3.lineno = 115, this.csel.onkeydown.sendEvent(kC_$0);
if (kC_$0 == lz.Keys.keyCodes.tab) {
if ($3.lineno = 117, lz.Keys.isKeyDown("shift")) {
$3.lineno = 118, this.prev()
} else {
$3.lineno = 120, this.next()
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "gotKeyDown";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 113;
return $lzsc$temp
})(), "__LZcheckFocusChange", (function () {
var $lzsc$temp = function (v_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["v", v_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzFocus.lzs";
$3.lineno = 129;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
if (v_$0.focusable) {
$3.lineno = 131, this.setFocus(v_$0, false)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "__LZcheckFocusChange";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 129;
return $lzsc$temp
})(), "setFocus", (function () {
var $lzsc$temp = function (newsel_$0, fwkey_$1) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["newsel", newsel_$0, "fwkey", fwkey_$1];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzFocus.lzs";
$6.lineno = 150;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
switch (arguments.length) {
case 1:
fwkey_$1 = null
};
if (this.__LZsfrunning) {
this.__LZsfnextfocus = newsel_$0;
return
};
if (this.cseldest == newsel_$0) {
return
};
var prevsel_$2 = this.csel;
if (prevsel_$2 && !($6.lineno = 168, prevsel_$2.shouldYieldFocus())) {
return
};
if (newsel_$0 && !newsel_$0.focusable) {
newsel_$0 = ($6.lineno = 174, this.getNext(newsel_$0));
if (this.cseldest == newsel_$0) {
return
}};
if (prevsel_$2) {
prevsel_$2.blurring = true
};
this.__LZsfnextfocus = -1;
this.__LZsfrunning = true;
this.cseldest = newsel_$0;
if (fwkey_$1 != null) {
this.focuswithkey = !(!fwkey_$1)
};
if (!this.__LZskipblur) {
this.__LZskipblur = true;
if (prevsel_$2 && prevsel_$2.onblur.ready) {
$6.lineno = 199, prevsel_$2.onblur.sendEvent(newsel_$0);
var next_$3 = this.__LZsfnextfocus;
if (next_$3 != -1) {
if (next_$3 && !next_$3.focusable) {
next_$3 = ($6.lineno = 204, this.getNext(next_$3))
};
if (next_$3 != newsel_$0) {
this.__LZsfrunning = false;
$6.lineno = 209, this.setFocus(next_$3);
return
}}}};
this.lastfocus = prevsel_$2;
this.csel = newsel_$0;
this.__LZskipblur = false;
if (prevsel_$2) {
prevsel_$2.blurring = false
};
if ($dhtml && canvas.accessible) {
if (newsel_$0 && newsel_$0.sprite != null) {
$6.lineno = 230, newsel_$0.sprite.aafocus()
}};
if (newsel_$0 && newsel_$0.onfocus.ready) {
$6.lineno = 235, newsel_$0.onfocus.sendEvent(newsel_$0);
var next_$3 = this.__LZsfnextfocus;
if (next_$3 != -1) {
if (next_$3 && !next_$3.focusable) {
next_$3 = ($6.lineno = 240, this.getNext(next_$3))
};
if (next_$3 != newsel_$0) {
this.__LZsfrunning = false;
$6.lineno = 245, this.setFocus(next_$3);
return
}}};
if (this.onfocus.ready) {
$6.lineno = 252, this.onfocus.sendEvent(newsel_$0);
var next_$3 = this.__LZsfnextfocus;
if (next_$3 != -1) {
if (next_$3 && !next_$3.focusable) {
next_$3 = ($6.lineno = 257, this.getNext(next_$3))
};
if (next_$3 != newsel_$0) {
this.__LZsfrunning = false;
$6.lineno = 262, this.setFocus(next_$3);
return
}}};
this.__LZsfrunning = false
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "setFocus";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 150;
return $lzsc$temp
})(), "clearFocus", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzFocus.lzs";
$2.lineno = 276;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 277, this.setFocus(null)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "clearFocus";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 276;
return $lzsc$temp
})(), "getFocus", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzFocus.lzs";
$2.lineno = 284;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
return this.csel
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "getFocus";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 284;
return $lzsc$temp
})(), "next", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzFocus.lzs";
$2.lineno = 291;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 292, this.genMoveSelection(1)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "next";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 291;
return $lzsc$temp
})(), "prev", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzFocus.lzs";
$2.lineno = 298;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
$2.lineno = 299, this.genMoveSelection(-1)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "prev";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 298;
return $lzsc$temp
})(), "getNext", (function () {
var $lzsc$temp = function (focusview_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["focusview", focusview_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzFocus.lzs";
$3.lineno = 308;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
focusview_$0 = null
};
return $3.lineno = 309, this.moveSelSubview(focusview_$0 || this.csel, 1, false)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getNext";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 308;
return $lzsc$temp
})(), "getPrev", (function () {
var $lzsc$temp = function (focusview_$0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["focusview", focusview_$0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzFocus.lzs";
$3.lineno = 318;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
focusview_$0 = null
};
return $3.lineno = 319, this.moveSelSubview(focusview_$0 || this.csel, -1, false)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "getPrev";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 318;
return $lzsc$temp
})(), "genMoveSelection", (function () {
var $lzsc$temp = function (movedir_$0) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["movedir", movedir_$0];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/services/LzFocus.lzs";
$7.lineno = 325;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var sel_$1 = this.csel;
var check_$2 = sel_$1;
while (sel_$1 && check_$2 != canvas) {
if (!check_$2.visible) {
sel_$1 = null
};
check_$2 = check_$2.immediateparent
};
if (sel_$1 == null) {
sel_$1 = ($7.lineno = 336, lz.ModeManager.getModalView())
};
var meth_$3 = "get" + (movedir_$0 == 1 ? "Next" : "Prev") + "Selection";
var v_$4 = sel_$1 ? ($7.lineno = 340, sel_$1[meth_$3]()) : null;
if (v_$4 == null) {
v_$4 = ($7.lineno = 342, this.moveSelSubview(sel_$1, movedir_$0, true))
};
if ($7.lineno = 344, lz.ModeManager.__LZallowFocus(v_$4)) {
$7.lineno = 345, this.setFocus(v_$4, true)
}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "genMoveSelection";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 325;
return $lzsc$temp
})(), "accumulateSubviews", (function () {
var $lzsc$temp = function (accum_$0, v_$1, includep_$2, top_$3) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["accum", accum_$0, "v", v_$1, "includep", includep_$2, "top", top_$3];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/services/LzFocus.lzs";
$7.lineno = 356;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
if (v_$1 == includep_$2 || v_$1.focusable && v_$1.visible) $7.lineno = 360, accum_$0.push(v_$1);
if (top_$3 || !v_$1.focustrap && v_$1.visible) for (var i_$4 = 0;i_$4 < v_$1.subviews.length;i_$4++) $7.lineno = 365, this.accumulateSubviews(accum_$0, v_$1.subviews[i_$4], includep_$2, false)
}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "accumulateSubviews";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 356;
return $lzsc$temp
})(), "moveSelSubview", (function () {
var $lzsc$temp = function (v_$0, mvdir_$1, sendEsc_$2) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["v", v_$0, "mvdir", mvdir_$1, "sendEsc", sendEsc_$2];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/services/LzFocus.lzs";
$b.lineno = 374;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
var root_$3 = v_$0 || canvas;
while (!root_$3.focustrap && root_$3.immediateparent && root_$3 != root_$3.immediateparent) root_$3 = root_$3.immediateparent;
var focusgroup_$4 = [];
$b.lineno = 392, this.accumulateSubviews(focusgroup_$4, root_$3, v_$0, true);
var index_$5 = -1;
var fglen_$6 = focusgroup_$4.length;
var escape_$7 = false;
for (var i_$8 = 0;i_$8 < fglen_$6;++i_$8) {
if (focusgroup_$4[i_$8] === v_$0) {
escape_$7 = mvdir_$1 == -1 && i_$8 == 0 || mvdir_$1 == 1 && i_$8 == fglen_$6 - 1;
index_$5 = i_$8;
break
}};
if (sendEsc_$2 && escape_$7) {
$b.lineno = 407, this.onescapefocus.sendEvent()
};
if (index_$5 == -1 && mvdir_$1 == -1) index_$5 = 0;
index_$5 = (index_$5 + mvdir_$1 + fglen_$6) % fglen_$6;
return focusgroup_$4[index_$5]
}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "moveSelSubview";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 374;
return $lzsc$temp
})()], ["LzFocus", void 0]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzFocus.lzs";
$3.lineno = 26;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzFocusService.LzFocus = ($3.lineno = 76, new LzFocusService())
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzFocus.lzs#26/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzFocus.lzs";
$lzsc$temp["_dbg_lineno"] = 26;
return $lzsc$temp
})()(LzFocusService);
lz.FocusService = LzFocusService;
lz.Focus = LzFocusService.LzFocus;
Class.make("LzTimerService", null, ["timerList", new Object(), "$lzsc$initialize", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/services/LzTimer.lzs";
$2.lineno = 88;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
(arguments.callee["$superclass"] && arguments.callee.$superclass.prototype["$lzsc$initialize"] || ($2.lineno = 89, this.nextMethod(arguments.callee, "$lzsc$initialize"))).call(this)
}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "$lzsc$initialize";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTimer.lzs";
$lzsc$temp["_dbg_lineno"] = 88;
return $lzsc$temp
})(), "execDelegate", (function () {
var $lzsc$temp = function (p_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["p", p_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzTimer.lzs";
$4.lineno = 105;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var del_$1 = p_$0.delegate;
$4.lineno = 108, lz.Timer.removeTimerWithID(del_$1, p_$0.id);
if (del_$1.enabled && del_$1.c) {
$4.lineno = 111, del_$1.execute(($4.lineno = 111, ($4.lineno = 111, new Date()).getTime()))
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "services/LzTimer.lzs#105/33";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTimer.lzs";
$lzsc$temp["_dbg_lineno"] = 105;
return $lzsc$temp
})(), "removeTimerWithID", (function () {
var $lzsc$temp = function (d_$0, id_$1) {
var $5 = Debug;
var $6 = $5.backtraceStack;
try {
if ($6) {
var $7 = ["d", d_$0, "id", id_$1];
$7.callee = arguments.callee;
$7["this"] = this;
$7.filename = "lfc/services/LzTimer.lzs";
$7.lineno = 125;
$6.push($7);
if ($6.length > $6.maxDepth) {
$5.stackOverflow()
}};
var delID_$2 = d_$0.__delegateID;
var tle_$3 = this.timerList[delID_$2];
if (tle_$3 != null) {
if (tle_$3 instanceof Array) {
for (var i_$4 = 0;i_$4 < tle_$3.length;i_$4++) {
if (tle_$3[i_$4] == id_$1) {
$7.lineno = 132, tle_$3.splice(i_$4, 1);
if (tle_$3.length == 0) delete this.timerList[delID_$2];
break
}}} else if (tle_$3 == id_$1) {
delete this.timerList[delID_$2]
}}}
finally {
if ($6) {
$6.length--
}}};
$lzsc$temp["displayName"] = "removeTimerWithID";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTimer.lzs";
$lzsc$temp["_dbg_lineno"] = 125;
return $lzsc$temp
})(), "addTimer", (function () {
var $lzsc$temp = function (d_$0, millisecs_$1) {
var $6 = Debug;
var $7 = $6.backtraceStack;
try {
if ($7) {
var $8 = ["d", d_$0, "millisecs", millisecs_$1];
$8.callee = arguments.callee;
$8["this"] = this;
$8.filename = "lfc/services/LzTimer.lzs";
$8.lineno = 153;
$7.push($8);
if ($7.length > $7.maxDepth) {
$6.stackOverflow()
}};
if (!millisecs_$1 || millisecs_$1 < 1) millisecs_$1 = 1;
var p_$2 = {delegate: d_$0};
var id_$3 = ($8.lineno = 160, LzTimeKernel.setTimeout(this.execDelegate, millisecs_$1, p_$2));
p_$2.id = id_$3;
if (id_$3 instanceof Array) {
$8.lineno = 169, Debug.error("setTimeout result type is unexpected; lz.Timer will fail")
};
var delID_$4 = d_$0.__delegateID;
var tle_$5 = this.timerList[delID_$4];
if (tle_$5 == null) {
this.timerList[delID_$4] = id_$3
} else if (!(tle_$5 instanceof Array)) {
this.timerList[delID_$4] = [tle_$5, id_$3]
} else {
$8.lineno = 183, tle_$5.push(id_$3)
};
return id_$3
}
finally {
if ($7) {
$7.length--
}}};
$lzsc$temp["displayName"] = "addTimer";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTimer.lzs";
$lzsc$temp["_dbg_lineno"] = 153;
return $lzsc$temp
})(), "removeTimer", (function () {
var $lzsc$temp = function (d_$0) {
var $4 = Debug;
var $5 = $4.backtraceStack;
try {
if ($5) {
var $6 = ["d", d_$0];
$6.callee = arguments.callee;
$6["this"] = this;
$6.filename = "lfc/services/LzTimer.lzs";
$6.lineno = 196;
$5.push($6);
if ($5.length > $5.maxDepth) {
$4.stackOverflow()
}};
var delID_$1 = d_$0.__delegateID;
var tle_$2 = this.timerList[delID_$1];
var id_$3 = null;
if (tle_$2 != null) {
if (tle_$2 instanceof Array) {
id_$3 = ($6.lineno = 202, tle_$2.shift());
$6.lineno = 203, LzTimeKernel.clearTimeout(id_$3);
if (tle_$2.length == 0) delete this.timerList[delID_$1]
} else {
id_$3 = tle_$2;
$6.lineno = 208, LzTimeKernel.clearTimeout(id_$3);
delete this.timerList[delID_$1]
}};
return id_$3
}
finally {
if ($5) {
$5.length--
}}};
$lzsc$temp["displayName"] = "removeTimer";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTimer.lzs";
$lzsc$temp["_dbg_lineno"] = 196;
return $lzsc$temp
})(), "resetTimer", (function () {
var $lzsc$temp = function (d_$0, millisecs_$1) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["d", d_$0, "millisecs", millisecs_$1];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzTimer.lzs";
$4.lineno = 229;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
$4.lineno = 230, this.removeTimer(d_$0);
return $4.lineno = 231, this.addTimer(d_$0, millisecs_$1)
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "resetTimer";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTimer.lzs";
$lzsc$temp["_dbg_lineno"] = 229;
return $lzsc$temp
})(), "countTimers", (function () {
var $lzsc$temp = function (d_$0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["d", d_$0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/services/LzTimer.lzs";
$4.lineno = 243;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
var tle_$1 = this.timerList[d_$0.__delegateID];
if (tle_$1 == null) {
return 0
} else if (tle_$1 instanceof Array) {
return tle_$1.length
} else return 1
}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "countTimers";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTimer.lzs";
$lzsc$temp["_dbg_lineno"] = 243;
return $lzsc$temp
})()], ["LzTimer", void 0]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$lzsc$c", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/services/LzTimer.lzs";
$3.lineno = 70;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) with ($0.prototype) {
{
LzTimerService.LzTimer = ($3.lineno = 96, new LzTimerService())
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "services/LzTimer.lzs#70/1";
$lzsc$temp["_dbg_filename"] = "lfc/services/LzTimer.lzs";
$lzsc$temp["_dbg_lineno"] = 70;
return $lzsc$temp
})()(LzTimerService);
lz.TimerService = LzTimerService;
lz.Timer = LzTimerService.LzTimer;
(function () {
var $lzsc$temp = function () {
var $3 = Debug;
var $4 = $3.backtraceStack;
try {
if ($4) {
var $5 = [];
$5.callee = arguments.callee;
$5["this"] = this;
$5.filename = "lfc/debugger/LzInit.lzs";
$5.lineno = 11;
$4.push($5);
if ($4.length > $4.maxDepth) {
$3.stackOverflow()
}};
for (var k_$0 in lz) {
var v_$1 = lz[k_$0];
if (!(Function["$lzsc$isa"] ? ($5.lineno = 14, Function.$lzsc$isa(v_$1)) : v_$1 instanceof Function) && v_$1["_dbg_name"] == null) {
try {
v_$1._dbg_name = "lz." + k_$0
}
catch (e_$2) {}}}}
finally {
if ($4) {
$4.length--
}}};
$lzsc$temp["displayName"] = "debugger/LzInit.lzs#11/4";
$lzsc$temp["_dbg_filename"] = "lfc/debugger/LzInit.lzs";
$lzsc$temp["_dbg_lineno"] = 11;
return $lzsc$temp
})()();
Class.make("$lzc$class_lzcontextmenuseparator", LzView, ["$m2", (function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 9;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 10, this.parent.registerRedraw(this)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#9/62";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 9;
return $lzsc$temp
})(), "$m4", (function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 11;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 12, this.parent.unregisterRedraw(this)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#11/9";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 11;
return $lzsc$temp
})(), "redraw", (function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 13;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 14, $0.moveTo(0, this.y + 9);
$3.lineno = 14, $0.lineTo(this.parent.width - 3, this.y + 9);
$0.strokeStyle = "#E5E5E5";
$3.lineno = 14, $0.stroke()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#13/12";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 13;
return $lzsc$temp
})()], ["tagname", "lzcontextmenuseparator", "attributes", new LzInheritedHash(LzView.attributes)]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 15;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) {
with ($0.prototype) {
$3.lineno = 18, LzNode.mergeAttributes({$delegates: ["oninit", "$m2", null, "ondestroy", "$m4", null], height: 10}, $lzc$class_lzcontextmenuseparator.attributes)
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#15/95";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 15;
return $lzsc$temp
})()($lzc$class_lzcontextmenuseparator);
Class.make("$lzc$class_lzcontextmenutext", LzText, ["$m6", (function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 19;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.parent.__overnow = this.data;
$3.lineno = 20, this.parent.registerRedraw(this)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#19/97";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 19;
return $lzsc$temp
})(), "$m8", (function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 21;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.parent.__overnow = null;
$3.lineno = 22, this.parent.unregisterRedraw(this)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#21/9";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 21;
return $lzsc$temp
})(), "$m10", (function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 23;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 24, this.parent.select(this.data);
$3.lineno = 24, this.parent.unregisterRedraw(this)
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#23/10";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 23;
return $lzsc$temp
})(), "redraw", (function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 25;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 26, $0.rect(this.x, this.y + 3, this.parent.width - 3, this.height);
$0.fillStyle = "#CCCCCC";
$3.lineno = 26, $0.fill()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#25/12";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 25;
return $lzsc$temp
})()], ["tagname", "lzcontextmenutext", "attributes", new LzInheritedHash(LzText.attributes)]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 27;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) {
with ($0.prototype) {
$3.lineno = 30, LzNode.mergeAttributes({$delegates: ["onmouseover", "$m6", null, "onmouseout", "$m8", null, "onmousedown", "$m10", null], clickable: true}, $lzc$class_lzcontextmenutext.attributes)
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#27/90";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 27;
return $lzsc$temp
})()($lzc$class_lzcontextmenutext);
Class.make("$lzc$class_lzcontextmenudisabled", LzText, null, ["tagname", "lzcontextmenudisabled", "attributes", new LzInheritedHash(LzText.attributes)]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 31;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) {
with ($0.prototype) {
$3.lineno = 34, LzNode.mergeAttributes({fgcolor: ($3.lineno = 34, LzColorUtils.convertColor("0xcccccc"))}, $lzc$class_lzcontextmenudisabled.attributes)
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#31/184";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 31;
return $lzsc$temp
})()($lzc$class_lzcontextmenudisabled);
Class.make("$lzc$class_$2Fcanvas$2F$40lzcontextmenu$2F$40background", LzView, ["$m13", (function () {
var $lzsc$temp = function ($0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["$1", $0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/contextmenu.js";
$4.lineno = 35;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
with (this) {
var $1 = parent.container.width + 9;
if ($1 !== this["width"] || !this.inited) {
{
if (!this.__LZdeleted) {
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this["$lzc$set_width"]) : this["$lzc$set_width"] instanceof Function) {
this["$lzc$set_width"]($1)
} else {
this["width"] = $1;
var $lzsc$1697737540 = this["onwidth"];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$1697737540) : $lzsc$1697737540 instanceof LzEvent) {
if ($lzsc$1697737540.ready) {
$lzsc$1697737540.sendEvent($1)
}}}}}}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#35/124";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 35;
return $lzsc$temp
})(), "$m14", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/contextmenu.js";
$2.lineno = 39;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
with (this) {
return [parent.container, "width"]
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#39/12";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 39;
return $lzsc$temp
})(), "$m15", (function () {
var $lzsc$temp = function ($0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["$1", $0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/contextmenu.js";
$4.lineno = 42;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
with (this) {
var $1 = parent.container.height + 9;
if ($1 !== this["height"] || !this.inited) {
{
if (!this.__LZdeleted) {
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this["$lzc$set_height"]) : this["$lzc$set_height"] instanceof Function) {
this["$lzc$set_height"]($1)
} else {
this["height"] = $1;
var $lzsc$111407933 = this["onheight"];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$111407933) : $lzsc$111407933 instanceof LzEvent) {
if ($lzsc$111407933.ready) {
$lzsc$111407933.sendEvent($1)
}}}}}}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#42/11";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 42;
return $lzsc$temp
})(), "$m16", (function () {
var $lzsc$temp = function () {
var $0 = Debug;
var $1 = $0.backtraceStack;
try {
if ($1) {
var $2 = [];
$2.callee = arguments.callee;
$2["this"] = this;
$2.filename = "lfc/contextmenu.js";
$2.lineno = 46;
$1.push($2);
if ($1.length > $1.maxDepth) {
$0.stackOverflow()
}};
with (this) {
return [parent.container, "height"]
}}
finally {
if ($1) {
$1.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#46/12";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 46;
return $lzsc$temp
})(), "$m18", (function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 49;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
$3.lineno = 50, this.createContext()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#49/11";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 49;
return $lzsc$temp
})(), "__doredraw", (function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 51;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
switch (arguments.length) {
case 0:
$0 = null
};
if (this.visible && this.width && this.height && this.context) {
$3.lineno = 57, this.redraw(this.context)
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#51/16";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 51;
return $lzsc$temp
})(), "redraw", (function () {
var $lzsc$temp = function ($0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["$1", $0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/contextmenu.js";
$4.lineno = 58;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
with (this) {
switch (arguments.length) {
case 0:
$0 = this.context
};
$4.lineno = 64, $0.beginPath();
$4.lineno = 64, $0.clearRect(0, 0, this.width, this.height);
$4.lineno = 64, LzKernelUtils.rect($0, 2.5, 3.5, this.width - 3, this.height - 3, classroot.inset);
$0.fillStyle = "#000000";
$0.globalAlpha = 0.2;
$4.lineno = 64, $0.fill();
$4.lineno = 64, $0.beginPath();
$4.lineno = 64, LzKernelUtils.rect($0, 0, 0, this.width - 3, this.height - 3, classroot.inset);
$0.globalAlpha = 0.9;
$0.fillStyle = "#FFFFFF";
$4.lineno = 64, $0.fill();
$0.globalAlpha = 1;
$0.strokeStyle = "#CCCCCC";
$4.lineno = 64, $0.stroke();
for (var $1 in parent.__drawnitems) {
$4.lineno = 65, $0.beginPath();
$4.lineno = 65, parent.__drawnitems[$1].redraw($0)
}}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#58/13";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 58;
return $lzsc$temp
})(), "$classrootdepth", void 0], ["tagname", "view", "attributes", new LzInheritedHash(LzView.attributes)]);
Class.make("$lzc$class_lzcontextmenu", LzView, ["inset", void 0, "__drawnitems", void 0, "__overnow", void 0, "$m12", (function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 66;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with (this) {
this.__globalmousedel = ($3.lineno = 68, new (lz.Delegate)(this, "__handlemouse"))
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#66/212";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 66;
return $lzsc$temp
})(), "select", (function () {
var $lzsc$temp = function ($0) {
var $2 = Debug;
var $3 = $2.backtraceStack;
try {
if ($3) {
var $4 = ["$1", $0];
$4.callee = arguments.callee;
$4["this"] = this;
$4.filename = "lfc/contextmenu.js";
$4.lineno = 69;
$3.push($4);
if ($3.length > $3.maxDepth) {
$2.stackOverflow()
}};
with (this) {
var $1 = LzMouseKernel.__showncontextmenu;
if ($1) {
$4.lineno = 72, $1.__select($0)
};
$4.lineno = 73, this.hide()
}}
finally {
if ($3) {
$3.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#69/13";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 69;
return $lzsc$temp
})(), "show", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 74;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with (this) {
if (this.visible && this.__overnow != null) {
$3.lineno = 77, this.select(this.__overnow);
this.__overnow = null;
return
};
this.__overnow = null;
var $0 = ($3.lineno = 78, canvas.getMouse());
if ($0.x > canvas.width - this.width) {
$0.x = canvas.width - this.width
};
if ($0.y > canvas.height - this.height) {
$0.y = canvas.height - this.height
};
$3.lineno = 82, this.bringToFront();
{
var $lzsc$857612631 = $0.x;
if (!this.__LZdeleted) {
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this["$lzc$set_x"]) : this["$lzc$set_x"] instanceof Function) {
this["$lzc$set_x"]($lzsc$857612631)
} else {
this["x"] = $lzsc$857612631;
var $lzsc$2042538613 = this["onx"];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$2042538613) : $lzsc$2042538613 instanceof LzEvent) {
if ($lzsc$2042538613.ready) {
$lzsc$2042538613.sendEvent($lzsc$857612631)
}}}}};
{
var $lzsc$2084300868 = $0.y;
if (!this.__LZdeleted) {
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this["$lzc$set_y"]) : this["$lzc$set_y"] instanceof Function) {
this["$lzc$set_y"]($lzsc$2084300868)
} else {
this["y"] = $lzsc$2084300868;
var $lzsc$1708403694 = this["ony"];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$1708403694) : $lzsc$1708403694 instanceof LzEvent) {
if ($lzsc$1708403694.ready) {
$lzsc$1708403694.sendEvent($lzsc$2084300868)
}}}}};
{
if (!this.__LZdeleted) {
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this["$lzc$set_visible"]) : this["$lzc$set_visible"] instanceof Function) {
this["$lzc$set_visible"](true)
} else {
this["visible"] = true;
var $lzsc$917176588 = this["onvisible"];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$917176588) : $lzsc$917176588 instanceof LzEvent) {
if ($lzsc$917176588.ready) {
$lzsc$917176588.sendEvent(true)
}}}}};
$3.lineno = 82, this.__globalmousedel.register(lz.GlobalMouse, "onmousedown")
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#74/11";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 74;
return $lzsc$temp
})(), "hide", (function () {
var $lzsc$temp = function () {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = [];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 83;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with (this) {
$3.lineno = 85, this.__globalmousedel.unregisterAll();
var $0 = LzMouseKernel.__showncontextmenu;
if ($0) {
$3.lineno = 86, $0.__hide()
};
{
if (!this.__LZdeleted) {
if (Function["$lzsc$isa"] ? Function.$lzsc$isa(this["$lzc$set_visible"]) : this["$lzc$set_visible"] instanceof Function) {
this["$lzc$set_visible"](false)
} else {
this["visible"] = false;
var $lzsc$986383435 = this["onvisible"];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$986383435) : $lzsc$986383435 instanceof LzEvent) {
if ($lzsc$986383435.ready) {
$lzsc$986383435.sendEvent(false)
}}}}}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#83/11";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 83;
return $lzsc$temp
})(), "setItems", (function () {
var $lzsc$temp = function ($0) {
var $9 = Debug;
var $a = $9.backtraceStack;
try {
if ($a) {
var $b = ["$1", $0];
$b.callee = arguments.callee;
$b["this"] = this;
$b.filename = "lfc/contextmenu.js";
$b.lineno = 88;
$a.push($b);
if ($a.length > $a.maxDepth) {
$9.stackOverflow()
}};
with (this) {
this.__drawnitems = {};
var $1 = this.container.subviews;
for (var $2 = $1.length;$2 >= 0;$2--) {
var $3 = $1[$2];
if (!$3 || (LzLayout["$lzsc$isa"] ? ($b.lineno = 91, LzLayout.$lzsc$isa($3)) : $3 instanceof LzLayout)) {
continue
};
$b.lineno = 93, $3.destroy()
};
var $4 = $0.length;
var $5 = 0;
for (var $2 = 0;$2 < $4;$2++) {
var $6 = $0[$2];
var $7 = lz["lzcontextmenu" + $6.type];
if ($7) {
var $8 = ($b.lineno = 96, new $7(this, {data: $6.offset, text: $6.label}));
{
if (!$8.__LZdeleted) {
if (Function["$lzsc$isa"] ? Function.$lzsc$isa($8["$lzc$set_y"]) : $8["$lzc$set_y"] instanceof Function) {
$8["$lzc$set_y"]($5)
} else {
$8["y"] = $5;
var $lzsc$1472384206 = $8["ony"];
if (LzEvent["$lzsc$isa"] ? LzEvent.$lzsc$isa($lzsc$1472384206) : $lzsc$1472384206 instanceof LzEvent) {
if ($lzsc$1472384206.ready) {
$lzsc$1472384206.sendEvent($5)
}}}}};
$5 += $8.height
}};
this.items = $0;
$b.lineno = 97, this.background.redraw()
}}
finally {
if ($a) {
$a.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#88/15";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 88;
return $lzsc$temp
})(), "registerRedraw", (function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 98;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
this.__drawnitems[$3.lineno = 99, $0.getUID()] = $0;
$3.lineno = 99, this.background.redraw()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#98/21";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 98;
return $lzsc$temp
})(), "unregisterRedraw", (function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 100;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
delete this.__drawnitems[$3.lineno = 101, $0.getUID()];
$3.lineno = 101, this.background.redraw()
}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#100/22";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 100;
return $lzsc$temp
})(), "__handlemouse", (function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 102;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with (this) {
if (!$0) {
$3.lineno = 105, this.hide();
return
};
do {
if (lz.lzcontextmenu["$lzsc$isa"] ? ($3.lineno = 107, lz.lzcontextmenu.$lzsc$isa($0)) : $0 instanceof lz.lzcontextmenu) {
return
};
$0 = $0.immediateparent
} while ($0 !== canvas);
$3.lineno = 110, this.hide()
}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#102/19";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 102;
return $lzsc$temp
})(), "background", void 0, "container", void 0], ["tagname", "lzcontextmenu", "children", [{attrs: {$classrootdepth: 1, $delegates: ["oninit", "$m18", null, "onwidth", "__doredraw", null, "onheight", "__doredraw", null, "oncontext", "__doredraw", null, "onvisible", "__doredraw", null], height: new LzAlwaysExpr("$m15", "$m16"), name: "background", width: new LzAlwaysExpr("$m13", "$m14")}, "class": $lzc$class_$2Fcanvas$2F$40lzcontextmenu$2F$40background}, {attrs: {$classrootdepth: 1, name: "container", x: 3, y: 3}, "class": LzView}, {attrs: "container", "class": $lzc$class_userClassPlacement}], "attributes", new LzInheritedHash(LzView.attributes)]);
(function () {
var $lzsc$temp = function ($0) {
var $1 = Debug;
var $2 = $1.backtraceStack;
try {
if ($2) {
var $3 = ["$1", $0];
$3.callee = arguments.callee;
$3["this"] = this;
$3.filename = "lfc/contextmenu.js";
$3.lineno = 111;
$2.push($3);
if ($2.length > $2.maxDepth) {
$1.stackOverflow()
}};
with ($0) {
with ($0.prototype) {
$3.lineno = 114, LzNode.mergeAttributes({$delegates: ["oninit", "$m12", null], __drawnitems: {}, __overnow: null, inset: 5, options: {ignorelayout: true}, visible: false}, $lzc$class_lzcontextmenu.attributes)
}}}
finally {
if ($2) {
$2.length--
}}};
$lzsc$temp["displayName"] = "contextmenu.js#111/603";
$lzsc$temp["_dbg_filename"] = "lfc/contextmenu.js";
$lzsc$temp["_dbg_lineno"] = 111;
return $lzsc$temp
})()($lzc$class_lzcontextmenu);
lz["lzcontextmenuseparator"] = $lzc$class_lzcontextmenuseparator;
lz["lzcontextmenutext"] = $lzc$class_lzcontextmenutext;
lz["lzcontextmenudisabled"] = $lzc$class_lzcontextmenudisabled;
lz["lzcontextmenu"] = $lzc$class_lzcontextmenu;